mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 13:07:16 +01:00
v0.94.4.75 - prep for deprecated spawnCreature method, more Class Limit work
This commit is contained in:
parent
33199aa05e
commit
1e42350aaf
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user