From f76c684162b1a859a40059f47807f98ce5ba79a5 Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Sat, 5 Oct 2013 06:19:54 -0700 Subject: [PATCH] Closes #1250 Don't know how it happened, but whatever. --- .../buildcraft/core/triggers/ActionTriggerIconProvider.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/buildcraft/core/triggers/ActionTriggerIconProvider.java b/common/buildcraft/core/triggers/ActionTriggerIconProvider.java index ad928323..c70aa07a 100644 --- a/common/buildcraft/core/triggers/ActionTriggerIconProvider.java +++ b/common/buildcraft/core/triggers/ActionTriggerIconProvider.java @@ -52,7 +52,7 @@ public class ActionTriggerIconProvider implements IIconProvider { @SideOnly(Side.CLIENT) - private Icon[] icons; + private final Icon[] icons = new Icon[MAX]; private ActionTriggerIconProvider(){} @@ -65,8 +65,6 @@ public class ActionTriggerIconProvider implements IIconProvider { @Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { - icons = new Icon[MAX]; - icons[ActionTriggerIconProvider.Action_MachineControl_On] = iconRegister.registerIcon("buildcraft:triggers/action_machinecontrol_on"); icons[ActionTriggerIconProvider.Action_MachineControl_Off] = iconRegister.registerIcon("buildcraft:triggers/action_machinecontrol_off"); icons[ActionTriggerIconProvider.Action_MachineControl_Loop] = iconRegister.registerIcon("buildcraft:triggers/action_machinecontrol_loop");