From 507e2ef6ba97ac1efe4998c360764014c0deca18 Mon Sep 17 00:00:00 2001 From: Alexander Meech Date: Sat, 4 Aug 2018 01:58:41 -0400 Subject: [PATCH] Fix concurrency flaw with energy pausing system --- .../src/mineplex/game/clans/clans/ClanEnergyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/ClanEnergyManager.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/ClanEnergyManager.java index afeb46731..a9db1340c 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/ClanEnergyManager.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/ClanEnergyManager.java @@ -12,7 +12,7 @@ public class ClanEnergyManager extends MiniPlugin implements Runnable { private final ClansManager _clansManager; - private boolean _paused; + private volatile boolean _paused; private int tickCount; public ClanEnergyManager(ClansManager clansManager)