Fixed dinnerbone property removal not updating.
This commit is contained in:
parent
4b2a8498a6
commit
e180843efd
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ public class NpcImpl extends Viewable implements Npc {
|
||||||
propertyMap.remove(key);
|
propertyMap.remove(key);
|
||||||
UNSAFE_refreshMeta();
|
UNSAFE_refreshMeta();
|
||||||
if (key.getName().equalsIgnoreCase("glow")) UNSAFE_remakeTeam();
|
if (key.getName().equalsIgnoreCase("glow")) UNSAFE_remakeTeam();
|
||||||
|
else if (key.getName().equalsIgnoreCase("dinnerbone")) respawn();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<EntityPropertyImpl<?>> getAppliedProperties() {
|
public Set<EntityPropertyImpl<?>> getAppliedProperties() {
|
||||||
|
|
Loading…
Reference in a new issue