Skip to content

Commit

Permalink
Fix unsafe cast to ServerWorld
Browse files Browse the repository at this point in the history
Fixes #7
  • Loading branch information
TibiNonEst committed Dec 30, 2022
1 parent 7fab2ce commit 558df23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void markDirty() {
if (world != null) {
if (world.isClient()) {
CauldronDyeing.rebuildBlock(pos);
} else {
} else if (world instanceof ServerWorld) {
((ServerWorld) world).getChunkManager().markForUpdate(pos);
}
super.markDirty();
Expand Down

0 comments on commit 558df23

Please sign in to comment.