Can anyone please tell me why this isnt working. Ive been staring at it for a hour now lol. I have no idea why its not working! If u can help THANKYOU! @EventHandler public void onPlayerDeath(PlayerDeathEvent e) { final Player player = e.getEntity(); this.getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() { public void run() { if (player.isDead()) { Packet205ClientCommand packet = new Packet205ClientCommand(); packet.a = 1; ((CraftPlayer)player).getHandle().playerConnection.a(packet); } } }); } }
I was told to make it like this and its still not working...... http://gyazo.com/3313db0b1416ce5d476cf297f1727c81