Volatile was not volatile
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
package me.cortex.voxelmon.core.util;
|
package me.cortex.voxelmon.core.util;
|
||||||
|
|
||||||
public class VolatileHolder <T> {
|
public class VolatileHolder <T> {
|
||||||
public T obj;
|
public volatile T obj;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user