Fix concurrency flaw with energy pausing system

This commit is contained in:
Alexander Meech 2018-08-04 01:58:41 -04:00 committed by GitHub
parent e1e08d362b
commit 507e2ef6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)