v0.94.4.75 - prep for deprecated spawnCreature method, more Class Limit work
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user