mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-18 11:19:31 +00:00
update MFR caller
This commit is contained in:
1 parent
581f72170c
commit
cfca8a7e5f
2 files changed
+1
-8
No files matched your search
-7
@@ -38,13 +38,6 @@ import stanhebben.zenscript.util.ZenPosition;
|
||||
public class ItemBracketHandler implements IBracketHandler {
|
||||
public static final Map<String, Item> itemNames = new HashMap<String, Item>();
|
||||
|
||||
// static {
|
||||
// itemNames = new HashMap<String, Item>();
|
||||
// for (String itemName : (Set<String>) Item.itemRegistry.getKeys()) {
|
||||
// itemNames.put(itemName.replace(" ", ""), (Item) Item.itemRegistry.getObject(itemName));
|
||||
// }
|
||||
// }
|
||||
|
||||
public static IItemStack getItem(String name, int meta) {
|
||||
// Item item = (Item) Item.itemRegistry.getObject(name);
|
||||
Item item = itemNames.get(name);
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import stanhebben.zenscript.annotations.ZenMethod;
|
||||
*
|
||||
* @author Stan
|
||||
*/
|
||||
@ZenClass("mods.mfr.AutoSpawner")
|
||||
@ZenClass("mods.mfr.SafariNet")
|
||||
@ModOnly("MineFactoryReloaded")
|
||||
public class SafariNet {
|
||||
@ZenMethod
|
||||
|
||||
Reference in new issue
Block a user