Auction Fixes + Auction API Hookup

This commit is contained in:
Kam committed 2026-01-24 15:11:50 -05:00
1 parent 64c29377c4
commit 3577701edf
29 files changed
+1897 -1013

No files matched your search

@@ -832,6 +832,15 @@ public class ProfileController implements IProfileHandler {
else
compound = (NBTTagCompound) compound.copy();
playerData.setNBT(compound);
// Trade data is shared across all profile slots - copy from player's live data
PlayerData liveData = PlayerData.get(player);
if (liveData != null) {
NBTTagCompound tradeCompound = new NBTTagCompound();
liveData.tradeData.writeToNBT(tradeCompound);
playerData.tradeData.readFromNBT(tradeCompound);
}
return playerData;
}