Update Entity.java
This commit is contained in:
parent
2e89c3cf39
commit
2ab208a577
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ public abstract class Entity {
|
|||
}
|
||||
|
||||
public String removeTag(String key){
|
||||
return tags.remove(key);
|
||||
if(tags != null) {
|
||||
return tags.remove(key);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public void removeTags(String[] keys){
|
||||
|
|
Loading…
Reference in a new issue