summaryrefslogtreecommitdiffstats
path: root/nms-patches/Path.patch
blob: caa54590fb894bf6ed551c75bd762ffbe374f0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/server/Path.java
+++ b/net/minecraft/server/Path.java
@@ -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() {}