mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2024-11-25 12:15:52 +01:00
Bump version
This commit is contained in:
parent
206ba98565
commit
997985a58d
@ -6,4 +6,4 @@ org.gradle.configureondemand=true
|
|||||||
# Project properties
|
# Project properties
|
||||||
maven_name=ViaProtocolHack
|
maven_name=ViaProtocolHack
|
||||||
maven_group=net.raphimc
|
maven_group=net.raphimc
|
||||||
maven_version=2.1.4
|
maven_version=2.1.5
|
||||||
|
@ -57,8 +57,8 @@ public class ViaProtocolHack {
|
|||||||
.build());
|
.build());
|
||||||
MappingDataLoader.enableMappingsCache();
|
MappingDataLoader.enableMappingsCache();
|
||||||
|
|
||||||
Via.getManager().addEnableListener(() -> {
|
if (platformSuppliers != null) {
|
||||||
if (platformSuppliers != null) {
|
Via.getManager().addEnableListener(() -> {
|
||||||
for (Supplier<?> additionalPlatformSupplier : platformSuppliers) {
|
for (Supplier<?> additionalPlatformSupplier : platformSuppliers) {
|
||||||
try {
|
try {
|
||||||
additionalPlatformSupplier.get();
|
additionalPlatformSupplier.get();
|
||||||
@ -66,8 +66,8 @@ public class ViaProtocolHack {
|
|||||||
LOGGER.log(Level.SEVERE, "Platform failed to load", e);
|
LOGGER.log(Level.SEVERE, "Platform failed to load", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
|
|
||||||
((ViaManagerImpl) Via.getManager()).init();
|
((ViaManagerImpl) Via.getManager()).init();
|
||||||
Via.getManager().getProtocolManager().setMaxProtocolPathSize(Integer.MAX_VALUE);
|
Via.getManager().getProtocolManager().setMaxProtocolPathSize(Integer.MAX_VALUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user