From 866c928b0ba678333f14c88ba033522e68562c1e Mon Sep 17 00:00:00 2001 From: Andreas Troelsen Date: Fri, 4 May 2018 03:49:30 +0200 Subject: [PATCH] Remember to take the entry fee. The takeFee call was accidentally left out in the join/leave refactor (this commit: b1c6b618279fd181799aeafdb041ad2d1775a585). --- src/main/java/com/garbagemule/MobArena/ArenaImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/garbagemule/MobArena/ArenaImpl.java b/src/main/java/com/garbagemule/MobArena/ArenaImpl.java index 7fde240..8301b8c 100644 --- a/src/main/java/com/garbagemule/MobArena/ArenaImpl.java +++ b/src/main/java/com/garbagemule/MobArena/ArenaImpl.java @@ -668,6 +668,8 @@ public class ArenaImpl implements Arena specPlayers.remove(p); + takeFee(p); + // Announce globally (must happen before moving player) if (settings.getBoolean("global-join-announce", false)) { if (lobbyPlayers.isEmpty()) {