Auto format code
This commit is contained in:
parent
fc4d8686b8
commit
b25742dde0
175 changed files with 527 additions and 737 deletions
|
@ -59,8 +59,8 @@ public class PacketAesu implements INetworkPacket<PacketAesu> {
|
|||
|
||||
@Override
|
||||
public void processData(PacketAesu message, MessageContext context) {
|
||||
// if (!pos.getWorld().isRemote) {
|
||||
// pos.handleGuiInputFromClient(buttonID);
|
||||
// }
|
||||
// if (!pos.getWorld().isRemote) {
|
||||
// pos.handleGuiInputFromClient(buttonID);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ public class PacketSyncSideConfig implements INetworkPacket<PacketSyncSideConfig
|
|||
@Override
|
||||
public void processData(PacketSyncSideConfig message, MessageContext context) {
|
||||
TileEntity tileEntity = context.getServerHandler().playerEntity.world.getTileEntity(message.pos);
|
||||
if(tileEntity instanceof IUpgradeable){
|
||||
if (tileEntity instanceof IUpgradeable) {
|
||||
ItemStack stack = ((IUpgradeable) tileEntity).getUpgradeInvetory().getStackInSlot(message.slotID);
|
||||
ItemNBTHelper.setInt(stack, "side", message.side);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue