summaryrefslogtreecommitdiffstats
path: root/nms-patches/Path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/Path.patch')
-rw-r--r--nms-patches/Path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/Path.patch b/nms-patches/Path.patch
new file mode 100644
index 00000000..39db7a87
--- /dev/null
+++ b/nms-patches/Path.patch
@@ -0,0 +1,11 @@
+--- ../work/decompile-bb26c12b/net/minecraft/server/Path.java 2014-11-27 08:59:46.849421195 +1100
++++ src/main/java/net/minecraft/server/Path.java 2014-11-27 08:42:10.088851036 +1100
+@@ -2,7 +2,7 @@
+
+ public class Path {
+
+- private PathPoint[] a = new PathPoint[1024];
++ private PathPoint[] a = new PathPoint[128]; // CraftBukkit - reduce default size
+ private int b;
+
+ public Path() {}