mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 02:47:43 +01:00
Add missing option for player cramming
This commit is contained in:
@@ -38,10 +38,10 @@ index b061ecc42122ef66fbf87fe017023abca5728a01..6e0b5fbf5b0d216b6b7c647d45ef37cd
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 3d6d92986ab14d85cab4c35040bad47ca3c01caa..307b955876e8b7517f68b1fd581fb2dd3e3edae0 100644
|
||||
index 902d0d4cad0527ac3fa171d5484e1679795d3c63..67e133cc8f26d66c2282830d012117ef298ec43a 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -371,6 +371,7 @@ public class PurpurWorldConfig {
|
||||
@@ -373,6 +373,7 @@ public class PurpurWorldConfig {
|
||||
public boolean creeperRidableInWater = false;
|
||||
public double creeperMaxHealth = 20.0D;
|
||||
public double creeperChargedChance = 0.0D;
|
||||
@@ -49,7 +49,7 @@ index 3d6d92986ab14d85cab4c35040bad47ca3c01caa..307b955876e8b7517f68b1fd581fb2dd
|
||||
private void creeperSettings() {
|
||||
creeperRidable = getBoolean("mobs.creeper.ridable", creeperRidable);
|
||||
creeperRidableInWater = getBoolean("mobs.creeper.ridable-in-water", creeperRidableInWater);
|
||||
@@ -381,6 +382,7 @@ public class PurpurWorldConfig {
|
||||
@@ -383,6 +384,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
creeperMaxHealth = getDouble("mobs.creeper.attributes.max_health", creeperMaxHealth);
|
||||
creeperChargedChance = getDouble("mobs.creeper.naturally-charged-chance", creeperChargedChance);
|
||||
@@ -57,7 +57,7 @@ index 3d6d92986ab14d85cab4c35040bad47ca3c01caa..307b955876e8b7517f68b1fd581fb2dd
|
||||
}
|
||||
|
||||
public boolean dolphinRidable = false;
|
||||
@@ -478,6 +480,7 @@ public class PurpurWorldConfig {
|
||||
@@ -480,6 +482,7 @@ public class PurpurWorldConfig {
|
||||
public boolean endermanRidable = false;
|
||||
public boolean endermanRidableInWater = false;
|
||||
public double endermanMaxHealth = 40.0D;
|
||||
@@ -65,7 +65,7 @@ index 3d6d92986ab14d85cab4c35040bad47ca3c01caa..307b955876e8b7517f68b1fd581fb2dd
|
||||
private void endermanSettings() {
|
||||
endermanRidable = getBoolean("mobs.enderman.ridable", endermanRidable);
|
||||
endermanRidableInWater = getBoolean("mobs.enderman.ridable-in-water", endermanRidableInWater);
|
||||
@@ -487,6 +490,7 @@ public class PurpurWorldConfig {
|
||||
@@ -489,6 +492,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.enderman.attributes.max_health", oldValue);
|
||||
}
|
||||
endermanMaxHealth = getDouble("mobs.enderman.attributes.max_health", endermanMaxHealth);
|
||||
|
||||
Reference in New Issue
Block a user