MCSM/Bridge: downgrade Netty из-за Minecraft
они используют версию библиотеки ниже, чем я
This commit is contained in:
@@ -6,7 +6,7 @@ task jar(type: Jar, overwrite: true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
nettyVersion = '4.1.9.Final'
|
nettyVersion = '4.0.23.Final'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ import io.netty.util.AttributeKey;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public final class Params {
|
public final class Params {
|
||||||
public static final AttributeKey<BiMap<Integer, Class<? extends Packet>>> KNOWN_PACKETS = AttributeKey.newInstance("KNOWN_PACKETS");
|
public static final AttributeKey<BiMap<Integer, Class<? extends Packet>>> KNOWN_PACKETS = AttributeKey.valueOf("KNOWN_PACKETS");
|
||||||
public static final AttributeKey<Map<Class<? extends Packet>, IPacketHandler>> KNOWN_HANDLERS = AttributeKey.newInstance("KNOWN_HANDLERS");
|
public static final AttributeKey<Map<Class<? extends Packet>, IPacketHandler>> KNOWN_HANDLERS = AttributeKey.valueOf("KNOWN_HANDLERS");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
nettyVersion = '4.1.9.Final'
|
nettyVersion = '4.0.23.Final'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user