How does typing work?
Closes GH-125
This commit is contained in:
parent
3f3fc8b6dc
commit
222a306fb9
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
|||
From 55928e9bb2824290e4135881784001be635f74da Mon Sep 17 00:00:00 2001
|
||||
From 9cbdef5acf7159e719a26670fc325656fd02a718 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Tue, 22 Mar 2016 12:04:28 -0500
|
||||
Subject: [PATCH] Configurable spawn chances for skeleton horses
|
||||
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
index 38272c4..8cd2070 100644
|
||||
index 38272c4..c43f859 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
@@ -301,4 +301,9 @@ public class PaperWorldConfig {
|
||||
|
@ -15,7 +15,7 @@ index 38272c4..8cd2070 100644
|
|||
+
|
||||
+ public double skeleHorseSpawnChance;
|
||||
+ private void skeleHorseSpawnChance() {
|
||||
+ skeleHorseSpawnChance = getDouble("skeleton-horse-thunder-soawn-chance", -1.0D); // -1.0D represents a "vanilla" state
|
||||
+ skeleHorseSpawnChance = getDouble("skeleton-horse-thunder-spawn-chance", -1.0D); // -1.0D represents a "vanilla" state
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
|
|
Loading…
Reference in a new issue