mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-12 16:27:27 +00:00
Chisel now can add and remove from the output. Need to figure out what is up with the input.
This commit is contained in:
1 parent
03c8e6cb80
commit
9d95d0f63e
1 file changed
+2
-2
@@ -23,7 +23,7 @@ public class Groups {
|
||||
@ZenMethod
|
||||
public static void addVariation(String groupName, IItemStack stack) {
|
||||
ICarvingGroup group=ChiselHelper.getGroup(groupName);
|
||||
ICarvingVariation variation=ChiselHelper.getVariation(stack);
|
||||
ICarvingVariation variation=ChiselHelper.makeVariation(stack);
|
||||
if(group==null)
|
||||
{
|
||||
MineTweakerAPI.getLogger().logError("Cannot find group " + groupName);
|
||||
@@ -31,7 +31,7 @@ public class Groups {
|
||||
}
|
||||
if(variation==null)
|
||||
{
|
||||
MineTweakerAPI.getLogger().logError("Can create variation from " + stack);
|
||||
MineTweakerAPI.getLogger().logError("Can't create variation from " + stack);
|
||||
return;
|
||||
}
|
||||
MineTweakerAPI.apply(new AddVariation(group,variation, stack.getDisplayName()));
|
||||
|
||||
Reference in new issue
Block a user