mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2024-11-21 11:37:41 +01:00
Bump version
This commit is contained in:
parent
206ba98565
commit
997985a58d
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user