Check if no metadata is set.

This commit is contained in:
Jesse Boyd 2015-11-15 20:52:32 +11:00
parent 27d1ba810b
commit a8140f8cb0
2 changed files with 1 additions and 1 deletions

View File

@ -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.