Fix skeleton horse spawn chance ignoring difficulty modifier if custom set

Also reduce diff
This commit is contained in:
Aikar
2016-05-30 12:50:57 -04:00
parent 44857e00e2
commit a9ec7b3a75
6 changed files with 10 additions and 18 deletions

View File

@@ -15,8 +15,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
private void skeleHorseSpawnChance() {
skeleHorseSpawnChance = getDouble("skeleton-horse-thunder-spawn-chance", -1.0D); // -1.0D represents a "vanilla" state
skeleHorseSpawnChance = 0.05D; // Vanilla
}
}
+
+ public boolean firePhysicsEventForRedstone = false;