mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-27 23:33:11 +00:00
EMT Foci Bugfixes/Cleanup (#90)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user