mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-10-26 14:33:48 +00:00
Fixed an infused grain crash
This commit is contained in:
1 parent
35340b2fcd
commit
7ff8a7a40e
1 file changed
+3
-1
@@ -131,7 +131,9 @@ public class BlockInfusedGrain extends BlockCrops implements ITTinkererBlock {
|
||||
}
|
||||
if (metadata >= 7) {
|
||||
do {
|
||||
ret.add(AspectCropLootManager.getLootForAspect(getAspect(world, x, y, z)));
|
||||
ItemStack retItem=AspectCropLootManager.getLootForAspect(getAspect(world, x, y, z));
|
||||
if(retItem!=null)
|
||||
ret.add(retItem);
|
||||
|
||||
} while (world.rand.nextInt(75) < getPrimalTendencyCount(world, x, y, z, Aspect.ORDER));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user