mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2025-02-13 00:41:24 +01:00
Fix support for waterlogged blocks
This commit is contained in:
parent
67a516a46b
commit
8f1260f4ad
@ -45,8 +45,8 @@ object MinionUtils {
|
||||
val locBlock = location.block
|
||||
FACES.fastFor {
|
||||
val relative = locBlock.getRelative(it)
|
||||
val state = relative.state
|
||||
val type = state.type
|
||||
val type = relative.type
|
||||
val state = relative.blockData
|
||||
if (!lava) {
|
||||
lava = type == Material.LAVA
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user