Added synchronization blocks to functions retrieving objects from CacheHashMaps and made the API use one for caching item stacks as well.

This commit is contained in:
Luis C.M committed 2023-05-31 00:35:57 -05:00
1 parent 3bc02a708e
commit 118d79f3ad
4 files changed
+34 -53

No files matched your search

@@ -28,7 +28,6 @@ import java.util.List;
import java.util.Map;
public class ScriptItemStack implements IItemStack {
public long lastAccessed;
public ItemStack item;
public ScriptItemStack(ItemStack item){