SHARE
TWEET

Untitled

a guest Aug 12th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public void onEntityDamage(EntityDamageEvent event) {
  2.         Entity e = event.getEntity();
  3.         if (e instanceof Item) {
  4.             if(flame == true) {
  5.                 if (event.getCause() == DamageCause.FIRE || event.getCause() == DamageCause.LAVA) {
  6.                         event.setCancelled(true);
RAW Paste Data
Top