mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
oopsie fixy
This commit is contained in:
parent
b0ee2e55da
commit
e79091825d
@ -216,10 +216,10 @@ public class IndustrialMiner extends MultiBlockMachine {
|
||||
|
||||
if (version.isAtLeast(MinecraftVersion.MINECRAFT_1_16) && type == Material.ANCIENT_DEBRIS) {
|
||||
return canMineAncientDebris.getValue() && !BlockStorage.hasBlockInfo(block);
|
||||
} else if (version.isAtLeast(MinecraftVersion.MINECRAFT_1_17) && SlimefunTag.DEEPSLATE_ORES.isTagged(block.getType())) {
|
||||
} else if (version.isAtLeast(MinecraftVersion.MINECRAFT_1_17) && SlimefunTag.DEEPSLATE_ORES.isTagged(type)) {
|
||||
return canMineDeepslateOres.getValue() && !BlockStorage.hasBlockInfo(block);
|
||||
} else {
|
||||
return SlimefunTag.INDUSTRIAL_MINER_ORES.isTagged(block.getType()) && !BlockStorage.hasBlockInfo(block);
|
||||
return SlimefunTag.INDUSTRIAL_MINER_ORES.isTagged(type) && !BlockStorage.hasBlockInfo(block);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user