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