-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Windows 10, latest build, IntelliJ enviorment
I have this listener
[code]
@EventHandler(priority = EventPriority.HIGHEST)
public void damage(EntityDamageEvent e) {
nServer.log(Level.DEBUG, "IS PLAYER: " + (e.getEntity() instanceof Player));
if (e.getEntity() instanceof Player)
}
[/code]
And when I do Player#Damage(1000), the event doesn't fire...
A bug? Anyway I can bypass this?
Console:
[code]
//Fall damage
[23:11:14 INFO]: [nAPI] [DEBUG] IS PLAYER: true
[23:11:14 INFO]: [nAPI] [DEBUG] WILL KILL: false
//Kill command
[23:11:20 INFO]: DeprecatedLuke issued command /pluginkilltest
//EVENT NOT FIRED
[23:11:20 INFO]: DeprecatedLuke died
[/code]