Added default config value

pull/14/head
Joey Hines 2021-07-20 18:13:33 -06:00
parent cc58aee0ef
commit 82f41bd5a9
No known key found for this signature in database
GPG Key ID: 80F567B5C968F91B
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class EntityChangeBlockListener implements Listener {
@EventHandler @EventHandler
public void onEntityChangeBlock(EntityChangeBlockEvent e) { public void onEntityChangeBlock(EntityChangeBlockEvent e) {
if (e.getEntity().getType() == EntityType.ENDERMAN) { 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); e.setCancelled(true);
} }
} }