mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-01-27 10:41:19 +01:00
v0.94.4.71 - allow joining arenas from spectator areas
This commit is contained in:
parent
b783f8ecbb
commit
795edcb9ff
@ -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:
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user