mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fix explosing incompatibility
This commit is contained in:
parent
cc31edff44
commit
2497d628e5
@ -246,7 +246,7 @@ public class GUIScreenToolAbility extends GuiScreen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ToolPreset activePreset = config.getActivePreset();
|
ToolPreset activePreset = config.getActivePreset();
|
||||||
if (ability instanceof IToolHarvestAbility && !activePreset.areaAbility.allowsHarvest(activePreset.areaAbilityLevel)) {
|
if (ability instanceof IToolHarvestAbility && ability != IToolHarvestAbility.NONE && !activePreset.areaAbility.allowsHarvest(activePreset.areaAbilityLevel)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user