TinyPlugin Creeper no explod blocks

YES end of creeper (and charged creeper) explosions, but others mob are normal

 

source code (is an emplosion? its a creeper? stop.):

 

@EventHandler public void onEntityExplode(EntityExplodeEvent event){
    if(event.getEntity().getType() == EntityType.CREEPER){
        event.setCancelled(true);
    }
}

 

1.04Ko

 

please comment (and translate), thx

 

enjoy


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    317621
  • Created
    Mar 17, 2019
  • Last Released File
    Apr 24, 2019
  • Total Downloads
    1,133
  • License

Categories

Members

Recent Files