Skip to content

Commit

Permalink
split comments into multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 27, 2023
1 parent bd46e8b commit 0762016
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0762016

Please sign in to comment.