v0.94.4.71 - allow joining arenas from spectator areas

This commit is contained in:
Brian 2012-06-06 20:32:01 -04:00
parent b783f8ecbb
commit 795edcb9ff
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
name: MobArena
author: garbagemule
main: com.garbagemule.MobArena.MobArena
version: 0.94.4.70
version: 0.94.4.71
softdepend: [Spout,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells,Vault]
commands:
ma:

View File

@ -35,7 +35,7 @@ public class JoinCommand implements Command
}
// Deny joining from other arenas
if (am.getArenaWithPlayer(p) != null) {
if (am.getArenaWithPlayer(p).inArena(p)) {
Messenger.tellPlayer(p, Msg.JOIN_ALREADY_PLAYING);
return false;
}