Fixed warping to lobby from outside the region.
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
name: MobArena
|
name: MobArena
|
||||||
main: com.garbagemule.MobArena.MobArena
|
main: com.garbagemule.MobArena.MobArena
|
||||||
version: 0.94.3.19
|
version: 0.94.3.20
|
||||||
softdepend: [Spout,Permissions,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells]
|
softdepend: [Spout,Permissions,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells]
|
||||||
commands:
|
commands:
|
||||||
ma:
|
ma:
|
||||||
|
|||||||
@@ -644,7 +644,7 @@ public class MAListener implements ArenaListener
|
|||||||
}
|
}
|
||||||
else if (arena.inRegion(to))
|
else if (arena.inRegion(to))
|
||||||
{
|
{
|
||||||
if (isWarp(from) || to.equals(arena.locations.get(p)))
|
if (isWarp(from) || isWarp(to) || to.equals(arena.locations.get(p)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MAUtils.tellPlayer(p, Msg.WARP_TO_ARENA);
|
MAUtils.tellPlayer(p, Msg.WARP_TO_ARENA);
|
||||||
|
|||||||
Reference in New Issue
Block a user