Fixed NullPointerExceptions that appeared while saving a chest.

This commit is contained in:
sk89q 2011-01-19 02:05:20 -08:00
parent 724b81e901
commit e9e6f894b3

View File

@ -105,7 +105,7 @@ public class BukkitWorld extends LocalWorld {
@Override
public BaseItemStack[] getChestContents(Vector pt) {
// TODO Auto-generated method stub
return null;
return new BaseItemStack[0];
}
@Override
@ -129,7 +129,7 @@ public class BukkitWorld extends LocalWorld {
@Override
public String getMobSpawnerType(Vector pt) {
// TODO Auto-generated method stub
return null;
return "";
}
@Override