mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-12-26 19:18:47 +01:00
Fixed a join bug
This commit is contained in:
parent
c84158aeb9
commit
cc02c067eb
BIN
MobArena.jar
BIN
MobArena.jar
Binary file not shown.
@ -171,6 +171,7 @@ public class MACommands implements CommandExecutor
|
||||
// If there was an error, don't join.
|
||||
if (error)
|
||||
{
|
||||
if (arena != null)
|
||||
arena.refund(p);
|
||||
return true;
|
||||
}
|
||||
|
@ -608,7 +608,7 @@ public class MAUtils
|
||||
|
||||
/**
|
||||
* Removes all the pets belonging to this player.
|
||||
*/
|
||||
*//*
|
||||
public static void clearPets(Arena arena, Player p)
|
||||
{
|
||||
for (Wolf w : arena.pets)
|
||||
@ -616,7 +616,7 @@ public class MAUtils
|
||||
if (w.getOwner().equals(p))
|
||||
w.remove();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user