PaperMC/nms-patches/Path.patch

12 lines
295 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- 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() {}