Skip to content

Commit

Permalink
Fix mixin name
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Aug 17, 2024
1 parent 3bc9534 commit cf76b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import java.util.stream.Collectors;

@Mixin(ChunkData.class)
public class MixinCustomBLockEntity_ChunkData {
public class MixinCustomBlockEntity_ChunkData {
@Redirect(method = "<init>(Lnet/minecraft/world/chunk/WorldChunk;)V", at = @At(value = "INVOKE", target = "Ljava/util/Map;entrySet()Ljava/util/Set;"))
private Set<Map.Entry<BlockPos, BlockEntity>> removeCustomBlock(Map<BlockPos, BlockEntity> instance) {
return instance.entrySet().stream().filter(e -> !(e.getValue() instanceof CustomBlockEntity)).collect(Collectors.toSet());
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/tweak.mixin.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MixinAsyncChunk_ServerPlayNetworkHandler",
"MixinAsyncChunk_StorageIoWorker",
"MixinCustomBlockEntity_BarrierBlock",
"MixinCustomBLockEntity_ChunkData",
"MixinCustomBlockEntity_ChunkData",
"MixinCustomBlockEntity_Structure",
"MixinFixBeacon_BeaconBlockEntity",
"MixinGlobalDataPack_VanillaDataPackProvider",
Expand Down

0 comments on commit cf76b3e

Please sign in to comment.