FallenMoonNetwork / CanaryRecode

CanaryMod Recode Repository
Other
11 stars 44 forks source link

ItemFireball, ItemFlintAndSteel: IgnitionHook called with clicked block, not ignited block #33

Closed nosefish closed 11 years ago

nosefish commented 11 years ago

When flint&steel or firecharges are used by rightclicking, the block passed in the IgnitionHook is the one that was under the crosshairs at the time of the click. This makes it hard to determine which block is about to be turned into fire when the click was not on the top face of a block.

Expected behaviour: The block passed in the IgnitionHook should be the one that will be set to type FireBlock unless the hook is cancelled, like it is for other ignition types. This is also how it is handled in Crow.

damagefilter commented 11 years ago

Hm. I have another idea. Lets have both blocks.

nosefish commented 11 years ago

Even better :).

damagefilter commented 11 years ago

You're teh awesome, man!