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