mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 18:24:10 +00:00
Remove null check
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user