NuclearCraft

NuclearCraft

31M Downloads

Drop handler not checking for silk touch correctly

thiakil opened this issue ยท 1 comments

commented

https://github.com/turbodiesel4598/NuclearCraft/blob/master/src/main/java/nc/handler/DropHandler.java#L51

Don't do that.

Use HarvestDropsEvent#isSilkTouching(), as machines that silk mine do not have tools.

Also the held item will never be null.

commented

Cheers - did not know about that. Fixed now!