[00:32:19] <Clippy> I goofed, forgive meeeee! ;____;

This commit is contained in:
gsand 2014-12-21 00:45:53 -06:00 committed by Zach Brown
parent 52b0f26ce8
commit 7ead09d18c

View file

@ -1,7 +1,7 @@
From 8606f4d764d901a7103dab5e915372be79c6a78b Mon Sep 17 00:00:00 2001
From 95e9ed8131afb03030c376d2bba1b8edc7b6329e Mon Sep 17 00:00:00 2001
From: gsand <gsandowns@gmail.com>
Date: Sat, 20 Dec 2014 16:25:18 -0800
Subject: [PATCH] Configurable-initial-player-spawn-fuzziness
Date: Sat, 20 Dec 2014 22:30:59 -0800
Subject: [PATCH] Configurable initial player spawn fuzziness
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
@ -18,19 +18,18 @@ index 42b68e5..2730001 100644
if (j < i) {
diff --git a/src/main/java/org/github/paperspigot/PaperSpigotConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotConfig.java
index 01cd24a..9081ea1 100644
index 01cd24a..b8858a4 100644
--- a/src/main/java/org/github/paperspigot/PaperSpigotConfig.java
+++ b/src/main/java/org/github/paperspigot/PaperSpigotConfig.java
@@ -175,4 +175,11 @@ public class PaperSpigotConfig
@@ -175,4 +175,10 @@ public class PaperSpigotConfig
dataValueAllowedItems = new HashSet<Integer>( getList( "data-value-allowed-items", Collections.emptyList() ) );
Bukkit.getLogger().info( "Data value allowed items: " + StringUtils.join(dataValueAllowedItems, ", ") );
}
+
+ public int initialPlayerSpawnLocationRange;
+ private void initialPlayerSpawnLocationRange()
+ public static int initialPlayerSpawnLocationRange;
+ private static void initialPlayerSpawnLocationRange()
+ {
+ initialPlayerSpawnLocationRange = getInt( "player-spawning.initial-location-range", 5 );
+ log( "Max fuzziness for the initial player spawn " + initialPlayerSpawnLocationRange);
+ }
}
--