Fixed NullPointerExceptions that appeared while saving a chest.

Dieser Commit ist enthalten in:
sk89q 2011-01-19 02:05:20 -08:00
Ursprung 724b81e901
Commit e9e6f894b3

Datei anzeigen

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