mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fixed NullPointerExceptions that appeared while saving a chest.
This commit is contained in:
parent
724b81e901
commit
e9e6f894b3
@ -105,7 +105,7 @@ public String[] getSignText(Vector pt) {
|
||||
@Override
|
||||
public BaseItemStack[] getChestContents(Vector pt) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return new BaseItemStack[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -129,7 +129,7 @@ public void setMobSpawnerType(Vector pt, String mobType) {
|
||||
@Override
|
||||
public String getMobSpawnerType(Vector pt) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user