Furnace cart doesn't use last fuel of a stack
Trinsdar opened this issue ยท 2 comments
Description of the Bug
if you right click a furnace cart with a fuel item such as coal that only has a stacksize of 1, it will fuel the furnace cart without consuming the coal.
To Reproduce
- Place furnace cart
- Click on furnace cart with exactly one coal
- watch it start up without consuming the coal
Expected behavior
it should consume the coal
Screenshots & Video
https://gfycat.com/decentfatherlyhornet
Logs & Environment
N/A
Additional context
Noticed in our testing pack for my mod, can try to reproduce it with just rc if you want, but I doubt any other mod is messing with the furnace cart.
Relevant Code:
Railcraft/src/main/java/mods/railcraft/common/util/inventory/InvTools.java
Lines 184 to 191 in 18ad20f
The only way I can see what you describe happening is if you are in creative mode or if Coal has a container item. Coal does not normally have a container item. That said, I've not tested it in game yet, so maybe something is happening I'm not accounting for.