Update to new forge registry system
This commit is contained in:
parent
c9f84375ac
commit
9c6e9aef64
5 changed files with 96 additions and 80 deletions
|
@ -99,7 +99,7 @@ public class ClientProxy extends CommonProxy
|
|||
}
|
||||
|
||||
public static ResourceLocation getItemLocation(Item item) {
|
||||
Object o = GameData.getItemRegistry().getNameForObject(item);
|
||||
Object o = item.getRegistryName();
|
||||
if(o == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue