Cleaning stuff
This commit is contained in:
parent
5ea1f16c45
commit
6a43d84a7f
10 changed files with 127 additions and 93 deletions
|
|
@ -72,7 +72,7 @@ public class ItemHandler {
|
|||
for(Field f:ItemHandler.class.getFields()){
|
||||
try{
|
||||
Item item = (Item)f.get(null);
|
||||
GameRegistry.registerItem(item,item.getUnlocalizedName());
|
||||
GameRegistry.registerItem(item,item.getUnlocalizedName().substring(5));
|
||||
}catch (Exception e){}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue