mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-27 17:28:28 +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