Remove null check

This commit is contained in:
somehussar committed 2025-02-02 23:04:57 +01:00
1 parent 5ce4beab34
commit 2677809c0e
1 file changed
-2
@@ -63,8 +63,6 @@ public class BankPacket extends AbstractPacket {
@Override
@SideOnly(Side.CLIENT)
public void sendData(ByteBuf out) throws IOException {
if (type == null)
return;
out.writeInt(type.ordinal());
if (type == Action.OpenSlot) {