mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 12:15:11 +00:00
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:
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){
|
||||
|
||||
Reference in new issue
Block a user