SteamWar/SpigotCore
Archiviert
13
0

Uncomment the comment
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
zOnlyKroks 2023-01-17 16:24:25 +01:00
Ursprung 9bd1088e10
Commit 8cff1db70b

Datei anzeigen

@ -378,10 +378,6 @@ public class REntity {
protected static Function<REntity, Object> spawnPacketGenerator(Class<?> spawnPacket, int posOffset) { protected static Function<REntity, Object> spawnPacketGenerator(Class<?> spawnPacket, int posOffset) {
Reflection.FieldAccessor<Integer> entityId = Reflection.getField(spawnPacket, int.class, 0); Reflection.FieldAccessor<Integer> entityId = Reflection.getField(spawnPacket, int.class, 0);
//Core version 8, index = 10
//Core version 9 to 18, index = 6
//Core version 19, index = 7
int index; int index;
switch (Core.getVersion()) { switch (Core.getVersion()) {
case 8: case 8: