mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 02:55:46 +01:00
Limit refunds to lobby players.
If the arena has already started, there is no reason why a leaver should have a refund. It's also a douchey move because your buddies in the arena will have a harder time after you leave them for dead.
This commit is contained in:
parent
5ac83b6898
commit
e0b6cc8992
@ -774,7 +774,7 @@ public class ArenaImpl implements Arena
|
||||
removeClassPermissions(p);
|
||||
removePotionEffects(p);
|
||||
|
||||
boolean refund = inLobby(p) || inArena(p);
|
||||
boolean refund = inLobby(p);
|
||||
|
||||
if (inLobby(p)) {
|
||||
ArenaPlayer ap = arenaPlayerMap.get(p);
|
||||
|
Loading…
Reference in New Issue
Block a user