EMT Foci Bugfixes/Cleanup (#90)

This commit is contained in:
koolkrafter5 authored and GitHub committed 2025-03-16 13:11:20 -05:00
1 parent 3456ce64d7
commit cb68d0a951
12 files changed
+129 -87

No files matched your search

@@ -35,7 +35,7 @@ public class ItemMaintenanceFocus extends ItemBaseFocus {
@Override
public String getSortingHelper(ItemStack itemstack) {
return "MAINTENANCE";
return "MAINTENANCE" + super.getSortingHelper(itemstack);
}
@Override
@@ -60,7 +60,7 @@ public class ItemMaintenanceFocus extends ItemBaseFocus {
if (hatchCandidateMetaTile instanceof MTEHatchMaintenance) {
MTEHatchMaintenance hatch = (MTEHatchMaintenance) hatchCandidateMetaTile;
if (player.capabilities.isCreativeMode
|| wand.consumeAllVis(itemStack, player, getVisCost(itemStack), true, true)) {
|| wand.consumeAllVis(itemStack, player, getVisCost(itemStack), true, false)) {
hatch.mCrowbar = true;
hatch.mScrewdriver = true;
hatch.mHardHammer = true;