Skip to content

Commit

Permalink
Fix HoF item previews
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Apr 19, 2022
1 parent 5c9c09a commit 1a72fe9
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.StringTag;
import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.level.ServerChunkCache;
import net.minecraft.server.level.ServerLevel;
Expand Down Expand Up @@ -247,20 +246,6 @@ public CompoundTag save(CompoundTag compound) {
return c;
}

@Override
public ClientboundBlockEntityDataPacket getUpdatePacket() {
CompoundTag tag = new CompoundTag();
this.save(tag);
return new ClientboundBlockEntityDataPacket(this.worldPosition, 1, tag);
}

@Override
public CompoundTag getUpdateTag() {
CompoundTag tag = new CompoundTag();
this.save(tag);
return tag;
}

@Override
public void loadClientData(BlockState pos, CompoundTag tag) {
this.load(tag);
Expand Down

0 comments on commit 1a72fe9

Please sign in to comment.