Finally fix the flight issue.
Update to v0.94.4.95 for next build.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: MobArena
|
name: MobArena
|
||||||
author: garbagemule
|
author: garbagemule
|
||||||
main: com.garbagemule.MobArena.MobArena
|
main: com.garbagemule.MobArena.MobArena
|
||||||
version: 0.94.4.94
|
version: 0.94.4.95
|
||||||
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
|
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
|
||||||
commands:
|
commands:
|
||||||
ma:
|
ma:
|
||||||
|
|||||||
@@ -454,6 +454,7 @@ public class ArenaImpl implements Arena
|
|||||||
}
|
}
|
||||||
|
|
||||||
p.teleport(region.getArenaWarp());
|
p.teleport(region.getArenaWarp());
|
||||||
|
p.setAllowFlight(false);
|
||||||
p.setFlying(false);
|
p.setFlying(false);
|
||||||
//movePlayerToLocation(p, region.getArenaWarp());
|
//movePlayerToLocation(p, region.getArenaWarp());
|
||||||
setHealth(p, 20);
|
setHealth(p, 20);
|
||||||
@@ -868,6 +869,8 @@ public class ArenaImpl implements Arena
|
|||||||
specPlayers.remove(p); // If joining from spec area
|
specPlayers.remove(p); // If joining from spec area
|
||||||
lobbyPlayers.add(p);
|
lobbyPlayers.add(p);
|
||||||
p.teleport(region.getLobbyWarp());
|
p.teleport(region.getLobbyWarp());
|
||||||
|
p.setAllowFlight(false);
|
||||||
|
p.setFlying(false);
|
||||||
timeStrategy.setPlayerTime(p);
|
timeStrategy.setPlayerTime(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user