@Override public void apply() { if (manager == null) { CraftTweakerAPI.logError("Charcoal manager is null, probably the charcoal module is not enabled"); return; } boolean success = false; if (block != null) { success = manager.removeWall(block); } else if (state != null) { success = manager.removeWall(state); } else { CraftTweakerAPI.logError("Both block and blockstate were null, no wall removed"); } if (!success) { CraftTweakerAPI.logError("Removing wall was not successful"); } } }