From 0762016ab97721d957b6229a109622af2ca0cfc8 Mon Sep 17 00:00:00 2001 From: xGinko Date: Wed, 27 Dec 2023 01:29:10 +0100 Subject: [PATCH] split comments into multiple lines --- .../anarchyexploitfixes/modules/combat/Burrow.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/combat/Burrow.java b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/combat/Burrow.java index 25c135cee..f2fcc5cf0 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/combat/Burrow.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/combat/Burrow.java @@ -60,11 +60,16 @@ public Burrow() { this.DIRT = XMaterial.DIRT.parseMaterial(); Config config = AnarchyExploitFixes.getConfiguration(); - this.damageWhenMovingInBurrow = config.getDouble("combat.prevent-burrow.damage-when-moving",1.0, "1.0 = Half a heart of damage every time you move."); + this.damageWhenMovingInBurrow = config.getDouble("combat.prevent-burrow.damage-when-moving",1.0, + "1.0 = Half a heart of damage every time you move."); this.shouldTeleportUp = config.getBoolean("combat.prevent-burrow.teleport-above-block", true); - this.preventIfBlockAboveBurrow = config.getBoolean("combat.prevent-burrow.prevent-if-block-above-burrow", false, "Prevent burrow even if there is a block above the block they are burrowing in, please note this may allow creating an \"elevator\", players will keep teleporting up until they hit air"); + this.preventIfBlockAboveBurrow = config.getBoolean("combat.prevent-burrow.prevent-if-block-above-burrow", false, + "Prevent burrow even if there is a block above the block they are burrowing in.\n" + + "Please note this may allow creating an \"elevator\", as players will keep teleporting up until they hit air."); this.breakAnvilInsteadOfTP = config.getBoolean("combat.prevent-burrow.break-anvil-instead-of-teleport", true); - boolean slabsAreAllowed = config.getBoolean("combat.prevent-burrow.allow-slabs-in-burrow", true, "Disabled by default in 1.12, needs to be enabled to prevent a bug where players are teleported above a slab when the slab is underwater, only happens in newer versions."); + boolean slabsAreAllowed = config.getBoolean("combat.prevent-burrow.allow-slabs-in-burrow", true, + "Disabled by default in 1.12, needs to be enabled to prevent a bug where players are teleported\n" + + "above a slab when the slab is under water, only happens in newer versions."); this.allowSlabs = AnarchyExploitFixes.getMCVersion() > 12 && slabsAreAllowed; }