mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
Remove references to the now-broken BlockEntity#save(CompoundTag) method (#8235)
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user