mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 03:59:38 +00:00
Hotfix Choosing of method
This commit is contained in:
1 parent
002745b377
commit
025cb3fac1
2 files changed
+2
-2
No files matched your search
@@ -26,7 +26,7 @@ public interface IOreDictEntry extends IIngredient {
|
||||
@ZenGetter("empty")
|
||||
public boolean isEmpty();
|
||||
|
||||
@ZenGetter("firstItem")
|
||||
@ZenGetter("firstItem")
|
||||
public IItemStack getFirstItem();
|
||||
|
||||
@ZenMethod
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ public class OreBracketHandler implements IBracketHandler {
|
||||
IJavaMethod method = JavaMethod.get(
|
||||
GlobalRegistry.getTypeRegistry(),
|
||||
OreBracketHandler.class,
|
||||
"getOre",
|
||||
name.contains("*") ? "getOreList" : "getOre",
|
||||
String.class);
|
||||
|
||||
return new ExpressionCallStatic(
|
||||
|
||||
Reference in new issue
Block a user