mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 03:28:45 +01:00
Force network manager connected for NPCs
This commit is contained in:
parent
44b121fe79
commit
7de9263d9b
@ -223,7 +223,6 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
||||
|
||||
@Override
|
||||
public String getSkinName() {
|
||||
|
||||
MetadataStore meta = npc.data();
|
||||
|
||||
String skinName = meta.get(NPC.PLAYER_SKIN_UUID_METADATA);
|
||||
|
@ -11,4 +11,9 @@ public class EmptyNetworkManager extends NetworkManager {
|
||||
super(flag);
|
||||
NMS.initNetworkManager(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isConnected() {
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user