mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-27 23:33:14 +00:00
- TC Eldritch Challenge: <init>
This commit is contained in:
1 parent
d2c432404b
commit
acb2f07f45
11 files changed
+240
-38
No files matched your search
@@ -82,7 +82,8 @@ public class BlockNodeManipulator extends BlockStoneDevice {
|
||||
} else if(!world.isRemote && heldItem != null && heldItem.getItem() instanceof ItemWandCasting) {
|
||||
tile.checkMultiblock();
|
||||
if (tile.isMultiblockStructurePresent()) {
|
||||
if(!ResearchManager.isResearchComplete(player.getCommandSenderName(), Gadomancy.MODID.toUpperCase() + ".NODE_MANIPULATOR")) return false;
|
||||
String research = tile.getMultiblockType().getResearchNeeded();
|
||||
if(!ResearchManager.isResearchComplete(player.getCommandSenderName(), research)) return false;
|
||||
if (ThaumcraftApiHelper.consumeVisFromWandCrafting(player.getCurrentEquippedItem(), player, RegisteredRecipes.costsNodeManipulatorMultiblock, true)) {
|
||||
tile.formMultiblock();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user