Added default config value
parent
cc58aee0ef
commit
82f41bd5a9
|
@ -17,7 +17,7 @@ public class EntityChangeBlockListener implements Listener {
|
|||
@EventHandler
|
||||
public void onEntityChangeBlock(EntityChangeBlockEvent e) {
|
||||
if (e.getEntity().getType() == EntityType.ENDERMAN) {
|
||||
if(plugin.getConfig().getBoolean("disable-mob-grief.enderman") ){
|
||||
if(plugin.getConfig().getBoolean("disable-mob-grief.enderman", false)){
|
||||
e.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue