Fixed ARC Packet
Made it so that the Packet's `updateTanks` method was not visible on the Server side.
This commit is contained in:
parent
797963ff04
commit
648b96601d
|
@ -8,6 +8,8 @@ import net.minecraft.network.PacketBuffer;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.api.distmarker.Dist;
|
||||||
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||||
import net.minecraftforge.fml.network.NetworkEvent.Context;
|
import net.minecraftforge.fml.network.NetworkEvent.Context;
|
||||||
import wayoftime.bloodmagic.tile.TileAlchemicalReactionChamber;
|
import wayoftime.bloodmagic.tile.TileAlchemicalReactionChamber;
|
||||||
|
|
||||||
|
@ -56,6 +58,7 @@ public class ARCTanksPacket
|
||||||
context.get().setPacketHandled(true);
|
context.get().setPacketHandled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OnlyIn(Dist.CLIENT)
|
||||||
public static void updateTanks(BlockPos pos, CompoundNBT inputNBT, CompoundNBT outputNBT)
|
public static void updateTanks(BlockPos pos, CompoundNBT inputNBT, CompoundNBT outputNBT)
|
||||||
{
|
{
|
||||||
World world = Minecraft.getInstance().world;
|
World world = Minecraft.getInstance().world;
|
||||||
|
|
Loading…
Reference in a new issue