Skip to content

Commit

Permalink
Fix forge not starting and fix HoF item preview not updating from dro…
Browse files Browse the repository at this point in the history
…pped items on Fabric
  • Loading branch information
itsmeow committed Apr 19, 2022
1 parent e17ac92 commit b36938f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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 @@ -250,20 +249,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(pos, tag);
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ loom {
}
}
forge {
mixinConfig "mixin.imdlib-whisperwoods.json", "whisperwoods.mixins.json", "whisperwoods-forge.mixins.json"
mixinConfig "mixin.imdlib-whisperwoods.json", "whisperwoods.mixins.json"
accessTransformer(file("src/main/resources/META-INF/accesstransformer.cfg"))
}
}
Expand Down

0 comments on commit b36938f

Please sign in to comment.