mirror of
https://github.com/collinsmith/riiablo.git
synced 2024-12-22 21:34:20 +07:00
Fixed ambiguous method call to ItemGenerator#generate
This commit is contained in:
parent
c8f14134ac
commit
501b787bc2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user