Update ItemGate.java
fix broken language
This commit is contained in:
parent
b234d242f6
commit
da25a18c98
1 changed files with 2 additions and 2 deletions
|
@ -118,14 +118,14 @@ public class ItemGate extends ItemBuildCraft {
|
||||||
for (IAction action : ActionManager.actions){
|
for (IAction action : ActionManager.actions){
|
||||||
if (action == null) continue;
|
if (action == null) continue;
|
||||||
IIconProvider ip = action.getIconProvider();
|
IIconProvider ip = action.getIconProvider();
|
||||||
if (ip == null) throw new RuntimeException("Action " + action.getClass().toString() + " does not return a IIconProvider. This is not a buildcraft bug");
|
if (ip == null) throw new RuntimeException("Action " + action.getClass().toString() + " does not return an IIconProvider. This is not a buildcraft bug!");
|
||||||
ip.registerIcons(iconRegister);
|
ip.registerIcons(iconRegister);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ITrigger trigger : ActionManager.triggers){
|
for (ITrigger trigger : ActionManager.triggers){
|
||||||
if (trigger == null) continue;
|
if (trigger == null) continue;
|
||||||
IIconProvider ip = trigger.getIconProvider();
|
IIconProvider ip = trigger.getIconProvider();
|
||||||
if (ip == null) throw new RuntimeException("Trigger " + trigger.getClass().toString() + " does not return a IIconProvider. This is not a buildcraft bug");
|
if (ip == null) throw new RuntimeException("Trigger " + trigger.getClass().toString() + " does not return an IIconProvider. This is not a buildcraft bug!");
|
||||||
ip.registerIcons(iconRegister);
|
ip.registerIcons(iconRegister);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue