Its impossible unless you have a creative server and no mobs and no nothing, but we must allow 0 as an entity ID
This commit is contained in:
parent
3e28decef2
commit
97338cbfad
@ -77,6 +77,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
private final Collection<String> 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user