Skip to content

Commit

Permalink
fix: yang glyph now replaces original block
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Sep 24, 2023
1 parent 597b319 commit 0dd230b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ object SlayerFeatures : CoroutineScope {
}

override fun blockChange(event: BlockChangeEvent) {
if (event.pos == thrownLocation && event.old.block is BlockBeacon && event.update.block is BlockAir) {
if (event.pos == thrownLocation && event.old.block is BlockBeacon && event.update.block !is BlockBeacon) {
thrownLocation = null
thrownEntity = null
return
Expand Down

0 comments on commit 0dd230b

Please sign in to comment.