CommandHelper

CommandHelper

46.5k Downloads

entity_damage amount limited to integers

LadyCailinBot opened this issue ยท 4 comments

commented

CMDHELPER-2964 - Reported by PseudoKnight

As of Minecraft 1.6, health was changed to floating point values. Bukkit changed everything over to doubles in response. Currently abstraction supports doubles, but the event itself does not.

commented

Comment by LadyCailin

I'm looking at the code, and I'm seeing a double being used in the code. Are you talking about the "amount" parameter for the event, or something else?

commented

Comment by LadyCailin

Nevermind, figured it out based on the forum post. Fixed.

commented

Comment by PseudoKnight

I'll point it out directly next time. Thanks.