mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01: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
|
* @param key
|
||||||
*/
|
*/
|
||||||
public Object deleteMeta(final String 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