Only clear if id 0
This commit is contained in:
parent
a785d2a514
commit
0a9a62c455
1 changed files with 2 additions and 1 deletions
|
@ -104,6 +104,7 @@ public class GuiBase extends GuiContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addPowerButton(int x, int y, int id, Layer layer) {
|
public void addPowerButton(int x, int y, int id, Layer layer) {
|
||||||
|
if (id == 0)
|
||||||
buttonList.clear();
|
buttonList.clear();
|
||||||
int factorX = 0;
|
int factorX = 0;
|
||||||
int factorY = 0;
|
int factorY = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue