mirror of
https://github.com/jonesdevelopment/sonar.git
synced 2026-11-13 20:52:01 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0b14214ae | ||
|
|
3d96a32f81 | ||
|
|
de67ab12c2 |
No files matched your search
@@ -451,7 +451,7 @@ public final class SonarConfiguration {
|
||||
Library.builder()
|
||||
.groupId("com{}mysql")
|
||||
.artifactId("mysql-connector-j")
|
||||
.version("9.1.0")
|
||||
.version("9.0.0")
|
||||
.relocate("com{}mysql", "xyz{}jonesdev{}sonar{}libs{}mysql")
|
||||
.build()),
|
||||
MARIADB("MariaDB", "jdbc:mariadb://%s:%d/%s", new MariaDbDatabaseTypeAdapter(),
|
||||
|
||||
+4
-2
@@ -88,10 +88,12 @@ public final class ChunkDataPacket implements FallbackPacket {
|
||||
if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_8)) {
|
||||
byteBuf.writeInt(0);
|
||||
byteBuf.writeBytes(new byte[2]);
|
||||
} else if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_15)) {
|
||||
} else if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_13)) {
|
||||
ProtocolUtil.writeVarInt(byteBuf, 0);
|
||||
} else if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_18)) {
|
||||
} else if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_15)) {
|
||||
ProtocolUtil.writeByteArray(byteBuf, new byte[256 * 4]);
|
||||
} else if (protocolVersion.lessThan(ProtocolVersion.MINECRAFT_1_18)) {
|
||||
ProtocolUtil.writeVarInt(byteBuf, 0);
|
||||
} else {
|
||||
final byte[] sectionData = new byte[]{0, 0, 0, 0, 0, 0, 1, 0};
|
||||
int count = protocolVersion.greaterThanOrEquals(ProtocolVersion.MINECRAFT_1_21_2) ? 24 : 16;
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
group=xyz.jonesdev
|
||||
version=2.1.17
|
||||
version=2.1.18
|
||||
description=A lightweight, effective, and easy-to-use anti-bot plugin for Velocity, BungeeCord, and Bukkit.
|
||||
Reference in new issue
Block a user