Magic

Magic

190k Downloads

CombatTag not working with magic item

Blamo27 opened this issue ยท 4 comments

commented
commented

Okey sorry, it was my plugin ... ๐Ÿ˜ž

@EventHandler(priority=EventPriority.LOWEST)
    public void PlayerLogin(PlayerJoinEvent event) throws SQLException {

        if (event.getPlayer() != null) {

            Player p = (Player) event.getPlayer();
             p.setHealth(p.getMaxHealth()); <----- Very very bad idea .. :/
             // Other lines

        }

    }
commented

Are you sure? I mean reading that issue it sounds like I backported it for you, so it should be there since build #37 (and you have #42).

Is Magic suddenly not working with CombatTagPlus anymore? Was it ever?

commented

Yes it was working and now it isn't.

commented

Did you do anything besides update Magic? There's no real reason why that fix would just stop working :\