From 1fc2eb982feeb2645ea8cc04b515f41117e43855 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 13 Apr 2016 02:11:40 -0400 Subject: [PATCH] Configurable Player Collision - Resolves #161 --- .../Configurable-Player-Collision.patch | 34 +++++++++++++++++++ scripts/importmcdev.sh | 1 + 2 files changed, 35 insertions(+) create mode 100644 Spigot-Server-Patches/Configurable-Player-Collision.patch diff --git a/Spigot-Server-Patches/Configurable-Player-Collision.patch b/Spigot-Server-Patches/Configurable-Player-Collision.patch new file mode 100644 index 0000000000..aca9f1f804 --- /dev/null +++ b/Spigot-Server-Patches/Configurable-Player-Collision.patch @@ -0,0 +1,34 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aikar +Date: Wed, 13 Apr 2016 02:10:49 -0400 +Subject: [PATCH] Configurable Player Collision + + +diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java ++++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java +@@ -0,0 +0,0 @@ public class PaperConfig { + private static void regionFileCacheSize() { + regionFileCacheSize = getInt("settings.region-file-cache-size", 256); + } ++ ++ public static boolean enablePlayerCollisions = true; ++ private static void enablePlayerCollisions() { ++ enablePlayerCollisions = getBoolean("settings.enable-player-collisions", true); ++ } + } +diff --git a/src/main/java/net/minecraft/server/PacketPlayOutScoreboardTeam.java b/src/main/java/net/minecraft/server/PacketPlayOutScoreboardTeam.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/PacketPlayOutScoreboardTeam.java ++++ b/src/main/java/net/minecraft/server/PacketPlayOutScoreboardTeam.java +@@ -0,0 +0,0 @@ public class PacketPlayOutScoreboardTeam implements Packet