mirror of
https://github.com/GTNewHorizons/Hardcore-Ender-Expansion.git
synced 2026-10-26 14:24:03 +00:00
do not persist technical entity (#23)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user