mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 10:57:43 +01:00
Move all config stuff to config patch
This commit is contained in:
@@ -18,10 +18,10 @@ index 1747d80315d7b11b7ccb21dd41324434e655b628..d5ee740792699f2eab3965d4920de913
|
||||
}
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index a1824f9d904f6877509afc0eea6dc7b0cfaef920..3cacbbacc9b4b40e9f5f003b2ecc262b5b4ce642 100644
|
||||
index 47c68f6655afb759b5028b20ce0c48e40e51a92a..95058c3c61275407b9393c3fa874e7993c100ded 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -297,6 +297,7 @@ public class PurpurWorldConfig {
|
||||
@@ -299,6 +299,7 @@ public class PurpurWorldConfig {
|
||||
public boolean totemOfUndyingWorksInInventory = false;
|
||||
public boolean playerFixStuckPortal = false;
|
||||
public boolean creativeOnePunch = false;
|
||||
@@ -29,7 +29,7 @@ index a1824f9d904f6877509afc0eea6dc7b0cfaef920..3cacbbacc9b4b40e9f5f003b2ecc262b
|
||||
private void playerSettings() {
|
||||
idleTimeoutKick = getBoolean("gameplay-mechanics.player.idle-timeout.kick-if-idle", idleTimeoutKick);
|
||||
idleTimeoutTickNearbyEntities = getBoolean("gameplay-mechanics.player.idle-timeout.tick-nearby-entities", idleTimeoutTickNearbyEntities);
|
||||
@@ -310,6 +311,7 @@ public class PurpurWorldConfig {
|
||||
@@ -312,6 +313,7 @@ public class PurpurWorldConfig {
|
||||
totemOfUndyingWorksInInventory = getBoolean("gameplay-mechanics.player.totem-of-undying-works-in-inventory", totemOfUndyingWorksInInventory);
|
||||
playerFixStuckPortal = getBoolean("gameplay-mechanics.player.fix-stuck-in-portal", playerFixStuckPortal);
|
||||
creativeOnePunch = getBoolean("gameplay-mechanics.player.one-punch-in-creative", creativeOnePunch);
|
||||
|
||||
Reference in New Issue
Block a user