Revert "Update to latest commit(Master)"

This commit is contained in:
Dimmerworld 2017-10-07 00:01:52 +11:00 committed by drcrazy
parent 8a5df0fc4b
commit 5396551891
3 changed files with 6 additions and 9 deletions

View file

@ -51,8 +51,6 @@ public class PacketSetRecipe implements INetworkPacket<PacketSetRecipe> {
} else { } else {
this.recipe = recipe.getRegistryName(); this.recipe = recipe.getRegistryName();
} }
System.out.println(this.recipe);
this.custom = custom; this.custom = custom;
} }
@ -76,7 +74,6 @@ public class PacketSetRecipe implements INetworkPacket<PacketSetRecipe> {
@Override @Override
public void processData(PacketSetRecipe message, MessageContext context) { public void processData(PacketSetRecipe message, MessageContext context) {
TileEntity tileEntity = context.getServerHandler().player.world.getTileEntity(message.pos); TileEntity tileEntity = context.getServerHandler().player.world.getTileEntity(message.pos);
;
if (tileEntity instanceof TileAutoCraftingTable) { if (tileEntity instanceof TileAutoCraftingTable) {
((TileAutoCraftingTable) tileEntity).setCurrentRecipe(message.recipe, message.custom); ((TileAutoCraftingTable) tileEntity).setCurrentRecipe(message.recipe, message.custom);
} }