Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-hub9796 committed Jan 31, 2025
1 parent bba99c4 commit cc541b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public BannerBlockEntityMixin(BlockEntityType<?> blockEntityType, BlockPos block
super(blockEntityType, blockPos, blockState);
}

@Decorate(method = "method_58121", at = @At(value = "FIELD", target = "Lnet/minecraft/world/level/block/entity/BannerBlockEntity;patterns:Lnet/minecraft/world/level/block/entity/BannerPatternLayers;", opcode = Opcodes.PUTFIELD))
private void arclight$setPatterns(BannerBlockEntity instance, BannerPatternLayers layers) {
@Decorate(method = "method_58121", inject = true, at = @At(value = "FIELD", target = "Lnet/minecraft/world/level/block/entity/BannerBlockEntity;patterns:Lnet/minecraft/world/level/block/entity/BannerPatternLayers;", opcode = Opcodes.PUTFIELD))
private void arclight$setPatterns(BannerPatternLayers layers) {
this.setPatterns(layers);
}

Expand Down

0 comments on commit cc541b7

Please sign in to comment.