Bump version

This commit is contained in:
RaphiMC 2023-02-20 15:35:04 +01:00
parent 206ba98565
commit 997985a58d
2 changed files with 5 additions and 5 deletions

View File

@ -6,4 +6,4 @@ org.gradle.configureondemand=true
# Project properties
maven_name=ViaProtocolHack
maven_group=net.raphimc
maven_version=2.1.4
maven_version=2.1.5

View File

@ -57,8 +57,8 @@ public class ViaProtocolHack {
.build());
MappingDataLoader.enableMappingsCache();
Via.getManager().addEnableListener(() -> {
if (platformSuppliers != null) {
if (platformSuppliers != null) {
Via.getManager().addEnableListener(() -> {
for (Supplier<?> additionalPlatformSupplier : platformSuppliers) {
try {
additionalPlatformSupplier.get();
@ -66,8 +66,8 @@ public class ViaProtocolHack {
LOGGER.log(Level.SEVERE, "Platform failed to load", e);
}
}
}
});
});
}
((ViaManagerImpl) Via.getManager()).init();
Via.getManager().getProtocolManager().setMaxProtocolPathSize(Integer.MAX_VALUE);