Skip to content

Commit 80147ee

Browse files
committed
fix fluid place not firing for cauldrons
1 parent d817d66 commit 80147ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rebar/src/main/kotlin/io/github/pylonmc/rebar/block/BlockListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ internal object BlockListener : MultiListener {
262262
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
263263
private fun onFluidPlace(event: PlayerBucketEmptyEvent) {
264264
val rebarBlock = BlockStorage.get(event.block)
265-
if (rebarBlock != null) {
265+
if (rebarBlock != null && rebarBlock.block.type != Material.CAULDRON) {
266266
event.isCancelled = true
267267
}
268268
}

0 commit comments

Comments
 (0)