More concurrency fixes + Zombify + BPQ available

Fixed some inconsistencies due to race conditions in the project, added
Zombify monster effect, made BPQ available and some minor patches.
This commit is contained in:
ronancpl
2017-04-09 14:23:23 -03:00
parent 7dc163fc76
commit 8c61c616f9
19 changed files with 321 additions and 115 deletions

View File

@@ -43,9 +43,9 @@ public enum ItemFactory {
CASH_CYGNUS(4, false),
CASH_ARAN(5, false),
MERCHANT(6, false);
private int value;
private boolean account;
private static ReentrantLock lock = new ReentrantLock(true);
private final int value;
private final boolean account;
private static final ReentrantLock lock = new ReentrantLock(true);
private ItemFactory(int value, boolean account) {
this.value = value;