Fix Camouflage

This commit is contained in:
Nedelosk committed 2017-08-31 17:19:51 +02:00
1 parent 6d3ff67efd
commit 0a2ca1febc
1 file changed
+2 -6
@@ -63,12 +63,8 @@ public class PacketCamouflageSelectionServer extends PacketCamouflageSelection i
break;
}
case TILE: {
if (tile instanceof IMultiblockComponent) {
IMultiblockController controller = ((IMultiblockComponent) tile).getMultiblockLogic().getController();
if (controller instanceof ICamouflageHandler) {
handler = (ICamouflageHandler) controller;
}
if (tile instanceof ICamouflageHandler) {
handler = (ICamouflageHandler) tile;
}
break;
}