mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 10:57:43 +01:00
Resolve #286 - Add config and API for item immunity to lightning
This commit is contained in:
@@ -32,10 +32,10 @@ index 762fed5ba27474951c1962e6f034e8494b1035d6..567a1da3c167c20ae3fb86c2a1f3608e
|
||||
this.bB.bC = this;
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 044dddc01b3dcae64d8e9e7b6e49e5453ff63a3a..e6c439191483dff645fb2f216f9065d23533ff2e 100644
|
||||
index d9fee278a2a5c04cc1a1796df2a6a77b432f47cc..c58a64f8ff38cde2de70ef9e06c1a6ca9e263669 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -1111,6 +1111,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1121,6 +1121,7 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean llamaRidable = false;
|
||||
public boolean llamaRidableInWater = false;
|
||||
@@ -43,7 +43,7 @@ index 044dddc01b3dcae64d8e9e7b6e49e5453ff63a3a..e6c439191483dff645fb2f216f9065d2
|
||||
public int llamaBreedingTicks = 6000;
|
||||
public double llamaMaxHealthMin = 15.0D;
|
||||
public double llamaMaxHealthMax = 30.0D;
|
||||
@@ -1121,6 +1122,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1131,6 +1132,7 @@ public class PurpurWorldConfig {
|
||||
private void llamaSettings() {
|
||||
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
|
||||
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
|
||||
|
||||
Reference in New Issue
Block a user