mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-25 18:47:52 +01:00
Mark field as volatile.
This commit is contained in:
parent
cecf80250c
commit
bec05967d3
@ -49,7 +49,7 @@ public class SpigotPacketInjector implements SpigotPacketListener {
|
||||
private static volatile boolean classChecked;
|
||||
|
||||
// Retrieve the entity player from a PlayerConnection
|
||||
private static Field playerConnectionPlayer;
|
||||
private static volatile Field playerConnectionPlayer;
|
||||
|
||||
// Packets that are not to be processed by the filters
|
||||
private Set<Object> ignoredPackets = Collections.newSetFromMap(new MapMaker().weakKeys().<Object, Boolean>makeMap());
|
||||
|
Loading…
Reference in New Issue
Block a user