forked from MagicBane/Server
Threadsafe is needed for the flag.
This commit is contained in:
@@ -49,6 +49,7 @@ import java.sql.SQLException;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.locks.ReadWriteLock;
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
@@ -180,7 +181,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
private float characterHeight = 0;
|
||||
private boolean lastSwimming = false;
|
||||
private boolean isTeleporting = false;
|
||||
public boolean dirtyLoad = true;
|
||||
public AtomicBoolean dirtyLoad = new AtomicBoolean(true);
|
||||
|
||||
/**
|
||||
* No Id Constructor
|
||||
|
||||
Reference in New Issue
Block a user