do not persist technical entity (#23)

This commit is contained in:
Glease authored and GitHub committed 2025-03-15 10:32:18 -05:00
1 parent 660086f21a
commit 9cc21df6ef
1 file changed
+7
@@ -110,4 +110,11 @@ public class EntityTechnicalVoidChest extends EntityTechnicalBase {
protected void readEntityFromNBT(NBTTagCompound nbt) {
age = nbt.getShort("vcage");
}
@Override
public boolean writeToNBTOptional(NBTTagCompound tagCompund) {
// this is a technical entity used to track item entities.
// it does not need to survive a chunk reload
return false;
}
}