v0.94.4.75 - prep for deprecated spawnCreature method, more Class Limit work

This commit is contained in:
Brian 2012-07-02 20:36:58 -04:00
parent 33199aa05e
commit 1e42350aaf
3 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
name: MobArena
author: garbagemule
main: com.garbagemule.MobArena.MobArena
version: 0.94.4.74
version: 0.94.4.75
softdepend: [Spout,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells,Vault]
commands:
ma:

View File

@ -466,6 +466,9 @@ public class ArenaImpl implements Arena
// Spawn pets (must happen after 'running = true;')
spawnPets();
// Clear the classes in use map, as they're no longer needed
limitManager.clearClassesInUse();
// Start logging
rewardManager.reset();
if (logging)

View File

@ -89,6 +89,7 @@ public enum MACreature
public LivingEntity spawn(Arena arena, World world, Location loc) {
LivingEntity e = world.spawnCreature(loc, type);
//TODO change this to: LivingEntity e = (LivingEntity) world.spawnEntity(loc, type);
switch (this) {
case SHEEP: