[Issue/Question] addPlayerOnlyDrop not working as expected
See original GitHub issueWhat happens:
Killing modified mobs (see attached script) sometimes doesn’t drop any items at all (producing an error, see “most recent log files”). It seems that items only drop if the mob will 100% drop leather when killed.
What you expected to happen:
Normal vanilla drops, just with leather added via addPlayerOnlyDrop
.
Script used:
https://hastebin.com/xotemarilu.log
crafttweaker.log file:
https://hastebin.com/azuyiyonak.log
Affected Versions:
- Minecraft:
1.12.2
- Forge:
14.23.5.2776
- Crafttweaker:
4.1.15
- Using a server:
no
Most recent log files:
https://paste.dimdev.org/rayabumuta.mccrash (killed sheep) https://paste.dimdev.org/suvuwojafo.mccrash (killed pig)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Drop event not firing in chrome - javascript - Stack Overflow
In order to have the drop event occur on a div element, you must cancel the ondragenter and ondragover events. Using jquery and...
Read more >Drag and drop not working in Windows 11? Try these fixes!
Dragging and dropping is a very important process on Windows 11 or any OS, so make sure to try these solutions to fix...
Read more >Destiny 2 Pc Slow Loading - WE ARE LOSTMEMORY
Destiny 2 long load times, stuttering in menu and performance issues after 30th Anniversary update. Windowed and Borderless Modes: If players minimize ...
Read more >Alpha 5.1.x FEEDBACK :: Empyrion - Galactic Survival General ...
We just released a second hotfix for the public version 5.1.1 Bugfixes - Fixed ... Fixed: Problem that player drone did not work...
Read more >Iframe not loading in chrome - Carlino Edilizia
If users using Chrome are encountering the same problem, then just open your browser and follow these steps to play back the Vimeo...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Different Scopes. Different Scopes. Different Scopes.
var
s declared outside a function cannot be accessed from inside a function expression. Try declaring the map int[IED] asstatic
Don’t use
0
as minimum drop, that is already handled by the weight, always start with at least one.