mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 11:09:42 +00:00
Multithread Market Saving + Record History for Markets
This commit is contained in:
1 parent
9e7c2d7e6a
commit
3507cb85c5
13 files changed
+172
-74
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package noppes.npcs.util;
|
||||
|
||||
import foxz.utils.Market;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
public class MarketCachedObject extends CacheHashMap.CachedObject<NBTTagCompound> {
|
||||
public MarketCachedObject(NBTTagCompound object) {
|
||||
super(object);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save() {
|
||||
Market.saveFile(getObject());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user