Brought WE up to date with the newest hMod revision.

Dieser Commit ist enthalten in:
sk89q 2010-11-28 14:11:15 -08:00
Ursprung 67a43fe2a5
Commit 4b8b77a6d5

Datei anzeigen

@ -221,9 +221,16 @@ public class ServerInterface {
* @param mobType
*/
public static void setMobSpawnerType(Vector pt, String mobType) {
Block block = etc.getServer().getBlockAt(
ComplexBlock cblock = etc.getServer().getComplexBlock(
pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
block.setSpawnData(mobType);
if (!(cblock instanceof MobSpawner)) {
return;
}
MobSpawner mobSpawner = (MobSpawner)cblock;
mobSpawner.setSpawn(mobType);
mobSpawner.update();
}
/**