forked from PaperMC/Paper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d3b35c
commit 527073a
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 70e801e21e09317358107fda0e7d5205c2654668 Mon Sep 17 00:00:00 2001 | ||
From b8b5130d21334908044a4cbe6b6ba3302e1148a4 Mon Sep 17 00:00:00 2001 | ||
From: Zach Brown <[email protected]> | ||
Date: Mon, 29 Feb 2016 21:02:09 -0600 | ||
Subject: [PATCH] Paper config files | ||
|
@@ -259,7 +259,7 @@ index 000000000..db899937b | |
+} | ||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java | ||
new file mode 100644 | ||
index 000000000..1c52aa6f7 | ||
index 000000000..273cdb598 | ||
--- /dev/null | ||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java | ||
@@ -0,0 +1,184 @@ | ||
|
@@ -324,8 +324,8 @@ index 000000000..1c52aa6f7 | |
+ commands = new HashMap<String, Command>(); | ||
+ commands.put("paper", new PaperCommand("paper")); | ||
+ | ||
+ version = getInt("config-version", 19); | ||
+ set("config-version", 19); | ||
+ version = getInt("config-version", 20); | ||
+ set("config-version", 20); | ||
+ readConfig(PaperConfig.class, null); | ||
+ } | ||
+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
From 3cd98352d4db9cbebceb1a2f4e4b6c68e5c519cc Mon Sep 17 00:00:00 2001 | ||
From 25cefafc2d98a1e48a7c89eba39e0aaa4dbf0e51 Mon Sep 17 00:00:00 2001 | ||
From: Zach Brown <[email protected]> | ||
Date: Tue, 1 Mar 2016 13:09:16 -0600 | ||
Subject: [PATCH] Configurable baby zombie movement speed | ||
|
||
|
||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java | ||
index 098bd3fba..1aa046bfa 100644 | ||
index 098bd3fba..912611cf1 100644 | ||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java | ||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java | ||
@@ -73,4 +73,15 @@ public class PaperWorldConfig { | ||
|
@@ -16,7 +16,7 @@ index 098bd3fba..1aa046bfa 100644 | |
+ public double babyZombieMovementModifier; | ||
+ private void babyZombieMovementModifier() { | ||
+ babyZombieMovementModifier = getDouble("baby-zombie-movement-modifier", 0.5D); | ||
+ if (PaperConfig.version < 19) { | ||
+ if (PaperConfig.version < 20) { | ||
+ babyZombieMovementModifier = getDouble("baby-zombie-movement-speed", 0.5D); | ||
+ set("baby-zombie-movement-modifier", babyZombieMovementModifier); | ||
+ } | ||
|