mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-21 15:41:38 +01:00
Fix block comparison in placement rules
This commit is contained in:
parent
f2300714eb
commit
4ef056dfed
@ -53,7 +53,7 @@ public class BlockUtils {
|
||||
}
|
||||
|
||||
public boolean equals(Block block) {
|
||||
return getBlock() == block;
|
||||
return getBlock().compare(block);
|
||||
}
|
||||
|
||||
public static Map<String, String> parseProperties(String query) {
|
||||
|
Loading…
Reference in New Issue
Block a user