SteamWar/SpigotCore
Archiviert
13
0

Fix TinyProtocol null player issues #207

Zusammengeführt
Lixfel hat 7 Commits von minifyTinyProtocol nach master 2022-08-23 14:10:15 +02:00 zusammengeführt
Besitzer

Untested due to obvious reasons

Untested due to obvious reasons
Lixfel hat 1 Commit 2022-08-22 12:58:19 +02:00 hinzugefügt
Fix TinyProtocol null player issues
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
04b03ce06d
YoyoNow hat die Änderungen 2022-08-22 20:27:49 +02:00 genehmigt
Autor
Besitzer

Does not work, player.b wird erst zu spät gesetzt.

java.lang.NullPointerException: Cannot invoke "java.lang.Object.getClass()" because "o" is null
	at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57)
	at java.base/jdk.internal.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:38)
	at java.base/java.lang.reflect.Field.get(Field.java:425)
	at spigotcore.jar//com.comphenix.tinyprotocol.Reflection$1.get(Reflection.java:151)
	at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol$PacketInterceptor.<init>(TinyProtocol.java:121)
	at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol$PacketInterceptor.<init>(TinyProtocol.java:113)
	at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol.onPlayerLogin(TinyProtocol.java:57)
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor12.execute(Unknown Source)
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75)
	at org.bukkit.plugin.EventExecutor$$Lambda$5672/0x0000000027767af0.execute(Unknown Source)
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670)
	at net.minecraft.server.players.PlayerList.canPlayerLogin(PlayerList.java:782)
	at net.minecraft.server.network.LoginListener.d(LoginListener.java:190)
	at net.minecraft.server.network.LoginListener.c(LoginListener.java:91)
	at net.minecraft.network.NetworkManager.a(NetworkManager.java:568)
	at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:233)
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1584)
	at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:446)
	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1417)
	at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1193)
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305)
	at net.minecraft.server.MinecraftServer$$Lambda$4392/0x00000000268a2628.run(Unknown Source)
	at java.base/java.lang.Thread.run(Thread.java:884)
Does not work, player.b wird erst zu spät gesetzt. ``` java.lang.NullPointerException: Cannot invoke "java.lang.Object.getClass()" because "o" is null at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) at java.base/jdk.internal.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:38) at java.base/java.lang.reflect.Field.get(Field.java:425) at spigotcore.jar//com.comphenix.tinyprotocol.Reflection$1.get(Reflection.java:151) at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol$PacketInterceptor.<init>(TinyProtocol.java:121) at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol$PacketInterceptor.<init>(TinyProtocol.java:113) at spigotcore.jar//com.comphenix.tinyprotocol.TinyProtocol.onPlayerLogin(TinyProtocol.java:57) at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor12.execute(Unknown Source) at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) at org.bukkit.plugin.EventExecutor$$Lambda$5672/0x0000000027767af0.execute(Unknown Source) at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670) at net.minecraft.server.players.PlayerList.canPlayerLogin(PlayerList.java:782) at net.minecraft.server.network.LoginListener.d(LoginListener.java:190) at net.minecraft.server.network.LoginListener.c(LoginListener.java:91) at net.minecraft.network.NetworkManager.a(NetworkManager.java:568) at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:233) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1584) at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:446) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1417) at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1193) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) at net.minecraft.server.MinecraftServer$$Lambda$4392/0x00000000268a2628.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:884) ```
Lixfel hat 1 Commit 2022-08-23 12:47:58 +02:00 hinzugefügt
Fix null connection issues
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
cbbafd7c09
Chaoscaot hat 1 Commit 2022-08-23 12:49:28 +02:00 hinzugefügt
Merge branch 'master' into minifyTinyProtocol
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
2fb281a99a
Lixfel hat 1 Commit 2022-08-23 12:52:23 +02:00 hinzugefügt
Fix static final order
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
b4a14ed5ec
Lixfel hat 1 Commit 2022-08-23 12:58:14 +02:00 hinzugefügt
Fix generic type search
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
c785603ace
Lixfel hat 1 Commit 2022-08-23 13:00:50 +02:00 hinzugefügt
Fix generic type search
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
e84958309b
Lixfel hat 1 Commit 2022-08-23 13:08:43 +02:00 hinzugefügt
Kick player on injection failure
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
e66744ab5e
Chaoscaot hat die Änderungen 2022-08-23 14:09:45 +02:00 genehmigt
Lixfel hat Commit 3693db65c7 in master 2022-08-23 14:10:15 +02:00 gemerged
Lixfel löschte die Branch minifyTinyProtocol 2022-08-23 14:10:17 +02:00
Dieses Repo ist archiviert. Du kannst Pull-Requests nicht kommentieren.
Keine Beschreibung angegeben.