Fix concurrency flaw with energy pausing system
This commit is contained in:
parent
e1e08d362b
commit
507e2ef6ba
@ -12,7 +12,7 @@ public class ClanEnergyManager extends MiniPlugin implements Runnable
|
|||||||
{
|
{
|
||||||
|
|
||||||
private final ClansManager _clansManager;
|
private final ClansManager _clansManager;
|
||||||
private boolean _paused;
|
private volatile boolean _paused;
|
||||||
private int tickCount;
|
private int tickCount;
|
||||||
|
|
||||||
public ClanEnergyManager(ClansManager clansManager)
|
public ClanEnergyManager(ClansManager clansManager)
|
||||||
|
Loading…
Reference in New Issue
Block a user