9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-22 08:29:22 +00:00
Files
LeavesMC/patches/server/0008-Allow-vanilla-properties-def.patch
violetc 0160d7eb95 Add Fakeplayer limit and list command
And Format Patches
2022-08-16 17:16:32 +08:00

27 lines
1.6 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: violetc <58360096+s-yh-china@users.noreply.github.com>
Date: Wed, 2 Feb 2022 00:43:25 +0800
Subject: [PATCH] Allow vanilla properties def
diff --git a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
index 456595e4b7e0c7f50617aa2694b0d2dfc368ab81..c8901ca493f33881850346d2bc21fcd11863c017 100644
--- a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
+++ b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
@@ -136,12 +136,12 @@ public class GlobalConfiguration extends ConfigurationPart {
public class UnsupportedSettings extends ConfigurationPart {
@Comment("This setting controls if players should be able to break bedrock, end portals and other intended to be permanent blocks.")
- public boolean allowPermanentBlockBreakExploits = false;
+ public boolean allowPermanentBlockBreakExploits = true;
@Comment("This setting controls if player should be able to use TNT duplication, but this also allows duplicating carpet, rails and potentially other items")
- public boolean allowPistonDuplication = false;
+ public boolean allowPistonDuplication = true;
public boolean performUsernameValidation = true;
@Comment("This setting controls if players should be able to create headless pistons.")
- public boolean allowHeadlessPistons = false;
+ public boolean allowHeadlessPistons = true;
}
public Commands commands;