Cube-Space / geSuit

Plugin suite for BungeeCord
5 stars 8 forks source link

Dogs pushed into portals spam errors in log #46

Closed Absentee23 closed 10 years ago

Absentee23 commented 10 years ago

Dogs (this one was owned/named) pushed into (water, likely the same as lava) portals spam the spigot log with this: http://pastebin.com/VmBhK6qE

May happen with other mobs/entities, but I haven't tested thoroughly.

Also, do you know if there's been any fix yet for the bukkit bug that was preventing a fix for lava portal damage?

jimmikaelkael commented 10 years ago

This shouldn't happen as the DamageEvent listener exclude entities that are not players: !(event.getEntity() instanceof Player)

The log is mentionning a PlayerEntity, are you walking in the portal too when pushing the dog ?

EDIT:Also, how are you pushing the dog ? by damaging it ?

EDIT2: This issue is the same as issue #40

Absentee23 commented 10 years ago

Ah yes, you are correct, it was when a player was trying to push it out of the portal without entering it that it threw the errors, and it is the same as that issue. Closing this one then.