Remove references to the now-broken BlockEntity#save(CompoundTag) method (#8235)

This commit is contained in:
SuperMartijn642 authored and GitHub committed 2022-01-19 19:27:34 +00:00
1 parent 00fafb07ce
commit 75408c1a70
5 files changed
+8 -16

No files matched your search

@@ -205,7 +205,7 @@ public class FullPotsAccessorDemo
@Override
public CompoundTag getUpdateTag()
{
return save(new CompoundTag());
return saveWithFullMetadata();
}
@Override
@@ -238,11 +238,11 @@ public class FullPotsAccessorDemo
}
@Override
public CompoundTag save(CompoundTag tag)
protected void saveAdditional(CompoundTag tag)
{
//noinspection ConstantConditions
tag.putString("plant", plant.getRegistryName().toString());
return super.save(tag);
super.saveAdditional(tag);
}
}