Crash when wolves kill sheep with custom drops sometimes(Item stacks returning null)
3nd0fw0r1d opened this issue ยท 1 comments
Issue Description:
The crash is specifically caused so far by wolves killing sheep, because I have them custom drop bones.
Does not happen when I kill them by hand.
Further testing:
changing entitys.addDrop(bone % 70,0,2);
to entitys.addDrop(bone % 70,1,2);
Fixes my crashing
What happens:
Forge no likey, exits game.
What you expected to happen:
No crash.
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 1.12.2-14.23.0.2549
- Crafttweaker: 4.0.10