mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 09:59:42 +00:00
fix syncronization
The String object is located in the string pool and may cause poor synchronization.
This commit is contained in:
1 parent
613bb7a2b5
commit
415de16917
1 file changed
+1
-1
@@ -26,7 +26,7 @@ import java.util.Objects;
|
||||
import java.util.TreeMap;
|
||||
|
||||
public class ScriptContainer implements IScriptUnit {
|
||||
private static final String lock = "lock";
|
||||
private static final Object lock = new Object();
|
||||
public static ScriptContainer Current;
|
||||
private static String CurrentType;
|
||||
public String fullscript = "";
|
||||
|
||||
Reference in new issue
Block a user