Fix creative mode laputa shards going too high in level

This commit is contained in:
Hubry committed 2020-04-15 22:52:48 +02:00
1 parent 43c0608063
commit 2592415358
1 file changed
+1 -1
@@ -80,7 +80,7 @@ public class ItemLaputaShard extends Item implements ILensEffect, ITinyPlanetExc
if (isInGroup(tab)) {
for (int i = 0; i <= 20; i += 5) {
ItemStack s = new ItemStack(this);
s.getOrCreateTag().putInt(TAG_LEVEL, i);
s.getOrCreateTag().putInt(TAG_LEVEL, i == 0 ? i : i - 1);
list.add(s);
}
}