Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-17 13:30:14 +01:00
Fix block entity ids
Dieser Commit ist enthalten in:
Ursprung
deb11bf1a9
Commit
1ef1a861ca
@ -9,8 +9,12 @@ public final class BlockEntityIds {
|
||||
static {
|
||||
final int[] ids = com.viaversion.viaversion.protocols.protocol1_18to1_17_1.BlockEntityIds.getIds();
|
||||
IDS = new int[Arrays.stream(ids).max().getAsInt() + 1];
|
||||
Arrays.fill(IDS, -1);
|
||||
for (int i = 0; i < ids.length; i++) {
|
||||
IDS[ids[i]] = i;
|
||||
final int id = ids[i];
|
||||
if (id != -1) {
|
||||
IDS[id] = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,6 @@ rootProject.name = "viabackwards-parent"
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven("https://repo.viaversion.com")
|
||||
maven("https://papermc.io/repo/repository/maven-public/")
|
||||
maven("https://oss.sonatype.org/content/repositories/snapshots/")
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren