Fixed ambiguous method call to ItemGenerator#generate

This commit is contained in:
Collin Smith 2021-11-30 16:33:49 -08:00
parent c8f14134ac
commit 501b787bc2

View File

@ -26,7 +26,8 @@ public class ItemGenerator extends PassiveSystem {
// }
public Item generate(String code) {
return generate(ItemUtils.getBase(code));
ItemEntry type = ItemUtils.getBase(code);
return generate(type);
}
public Item generate(ItemEntry base) {