Disable object pooling in PhTree

This commit is contained in:
fullwall 2024-08-16 21:02:06 +08:00
parent b00e99fedb
commit 2caa1b360a

View File

@ -327,6 +327,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
lib.loadLibrary(Library.builder().groupId("org{}joml").artifactId("joml").version("1.10.5").build()); lib.loadLibrary(Library.builder().groupId("org{}joml").artifactId("joml").version("1.10.5").build());
} }
PhTreeHelper.enablePooling(false); PhTreeHelper.enablePooling(false);
PhTreeHelper.MAX_OBJECT_POOL_SIZE = 0;
} }
@Override @Override