mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-21 04:22:25 +00:00
Merge remote-tracking branch 'origin/potion_id_fix' into dev
This commit is contained in:
1 file changed
+1
-1
@@ -47,7 +47,7 @@ public class RegisteredPotions {
|
||||
private static <T extends Potion> T registerPotion(Class<T> potionClass) {
|
||||
int id = ModConfig.loadPotionId(potionClass.getSimpleName());
|
||||
if (id == -1) {
|
||||
for (int i = 0; i < Potion.potionTypes.length; i++) {
|
||||
for (int i = 1; i < Potion.potionTypes.length; i++) {
|
||||
if (Potion.potionTypes[i] == null) {
|
||||
id = i;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user