Fixes the auto crafting table, as it broke a bit with the forge update.

This commit is contained in:
modmuss50 2017-06-26 22:30:13 +01:00
parent f2c753cf1d
commit ac7a4246f6
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
3 changed files with 8 additions and 5 deletions
src/main/java/techreborn/packets

View file

@ -28,10 +28,7 @@ public class PacketSetRecipe implements INetworkPacket<PacketSetRecipe> {
this.recipe = recipe.getRegistryName();
}
if(this.recipe == null){
//TODO fix vanilla recipes
this.recipe = new ResourceLocation("");
}
System.out.println(this.recipe);
this.custom = custom;
}