mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Move all config stuff to config patch
This commit is contained in:
@@ -37,10 +37,10 @@ index e3d6be3c3ac94b683acfdba9b1feea88f80c5707..158691a1912155390751698a833b1375
|
||||
|
||||
this.isInsidePortal = true;
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 5826c389fc8febc5c25458f1458d90eb351207ec..3d4f3ea65836ae44eb91468b43a7cdbf08140b6f 100644
|
||||
index 20ba8faadf79fe8edf18a37579dcda791ea91fa1..13cf662db2278b321ad9c66b94a440fe3587cf57 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -283,6 +283,7 @@ public class PurpurWorldConfig {
|
||||
@@ -285,6 +285,7 @@ public class PurpurWorldConfig {
|
||||
public int playerDeathExpDropMax = 100;
|
||||
public boolean teleportIfOutsideBorder = false;
|
||||
public boolean totemOfUndyingWorksInInventory = false;
|
||||
@@ -48,7 +48,7 @@ index 5826c389fc8febc5c25458f1458d90eb351207ec..3d4f3ea65836ae44eb91468b43a7cdbf
|
||||
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);
|
||||
@@ -294,6 +295,7 @@ public class PurpurWorldConfig {
|
||||
@@ -296,6 +297,7 @@ public class PurpurWorldConfig {
|
||||
playerDeathExpDropMax = getInt("gameplay-mechanics.player.exp-dropped-on-death.maximum", playerDeathExpDropMax);
|
||||
teleportIfOutsideBorder = getBoolean("gameplay-mechanics.player.teleport-if-outside-border", teleportIfOutsideBorder);
|
||||
totemOfUndyingWorksInInventory = getBoolean("gameplay-mechanics.player.totem-of-undying-works-in-inventory", totemOfUndyingWorksInInventory);
|
||||
|
||||
Reference in New Issue
Block a user