mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 06:53:20 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -3,6 +3,7 @@ package noppes.npcs.client.gui.hud;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.ScaledResolution;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class HudComponent {
|
||||
@@ -54,7 +55,7 @@ public abstract class HudComponent {
|
||||
* The default implementation toggles the enabled state if button id is 999.
|
||||
*/
|
||||
public void onEditorButtonPressed(GuiButton button) {
|
||||
if(button.id == 999){
|
||||
if (button.id == 999) {
|
||||
enabled = !enabled;
|
||||
button.displayString = enabled ? "Enabled" : "Disabled";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user