From 97338cbfad281ff6de9598a607c96d6868b13043 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 25 May 2013 17:18:03 +1000 Subject: [PATCH] Its impossible unless you have a creative server and no mobs and no nothing, but we must allow 0 as an entity ID --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index b65b1a28..b53ff068 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -77,6 +77,7 @@ public final class UserConnection implements ProxiedPlayer private final Collection permissions = new CaseInsensitiveSet(); /*========================================================================*/ @Getter + @Setter private int clientEntityId; @Getter @Setter @@ -317,12 +318,6 @@ public final class UserConnection implements ProxiedPlayer return name; } - public void setClientEntityId(int clientEntityId) - { - Preconditions.checkState( this.clientEntityId == 0, "Client entityId already set!" ); - this.clientEntityId = clientEntityId; - } - @Override public void setTexturePack(TexturePackInfo pack) {