Fixed dinnerbone property removal not updating.
This commit is contained in:
		
							parent
							
								
									f8648b7d01
								
							
						
					
					
						commit
						f2c9409923
					
				
					 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