mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-24 23:03:01 +02:00
Check if no metadata is set.
This commit is contained in:
parent
27d1ba810b
commit
a8140f8cb0
|
@ -81,7 +81,7 @@ public abstract class PlotPlayer implements CommandCaller {
|
|||
* @param key
|
||||
*/
|
||||
public Object deleteMeta(final String key) {
|
||||
return meta.remove(key);
|
||||
return meta == null ? null : meta.remove(key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user