Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Death messages leak into lobby #54

Open
Restioson opened this issue Jun 9, 2024 · 0 comments
Open

Death messages leak into lobby #54

Restioson opened this issue Jun 9, 2024 · 0 comments

Comments

@Restioson
Copy link

Restioson commented Jun 9, 2024

image

Possibly related log:

Invoking PlayerDeathEvent:

java.lang.NullPointerException: Cannot read field "kills" because the return value of "us.potatoboy.skywars.game.SkyWarsActive.getParticipant(xyz.nucleoid.plasmid.util.PlayerRef)" is null
at us.potatoboy.skywars.game.SkyWarsActive.getDeathMessage(SkyWarsActive.java:296)
at us.potatoboy.skywars.game.SkyWarsActive.onPlayerDeath(SkyWarsActive.java:221)
at xyz.nucleoid.stimuli.event.player.PlayerDeathEvent.lambda$static$0(PlayerDeathEvent.java:23)
at xyz.nucleoid.stimuli.event.player.PlayerDeathEvent.lambda$static$0(PlayerDeathEvent.java:23)
at net.minecraft.class_3222.handler$bhl001$stimuli$onDeath(class_3222.java:11977)
at net.minecraft.class_3222.method_6078(class_3222.java)
at net.minecraft.class_1309.method_5643(class_1309.java:1246)
at net.minecraft.class_1657.method_5643(class_1657.java:938)
at net.minecraft.class_3222.method_5643(class_3222.java:738)
at us.potatoboy.skywars.game.SkyWarsActive.tick(SkyWarsActive.java:317)
at xyz.nucleoid.plasmid.game.event.GameActivityEvents.lambda$static$8(GameActivityEvents.java:98)
at xyz.nucleoid.plasmid.Plasmid.lambda$registerCallbacks$2(Plasmid.java:106)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$6(ServerTickEvents.java:63)
at net.minecraft.class_3218.handler$zge000$fabric-lifecycle-events-v1$endWorldTick(class_3218.java:2774)
at net.minecraft.class_3218.method_18765(class_3218.java:410)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:948)
at net.minecraft.class_3176.method_3813(class_3176.java:283)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:845)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:683)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:840)
Invoking PlayerDeathEvent:

java.lang.NullPointerException: Cannot read field "kills" because the return value of "us.potatoboy.skywars.game.SkyWarsActive.getParticipant(xyz.nucleoid.plasmid.util.PlayerRef)" is null
at us.potatoboy.skywars.game.SkyWarsActive.getDeathMessage(SkyWarsActive.java:296)
at us.potatoboy.skywars.game.SkyWarsActive.onPlayerDeath(SkyWarsActive.java:221)
at xyz.nucleoid.stimuli.event.player.PlayerDeathEvent.lambda$static$0(PlayerDeathEvent.java:23)
at xyz.nucleoid.stimuli.event.player.PlayerDeathEvent.lambda$static$0(PlayerDeathEvent.java:23)
at net.minecraft.class_3222.handler$bhl001$stimuli$onDeath(class_3222.java:11977)
at net.minecraft.class_3222.method_6078(class_3222.java)
at net.minecraft.class_1309.method_5643(class_1309.java:1246)
at net.minecraft.class_1657.method_5643(class_1657.java:938)
at net.minecraft.class_3222.method_5643(class_3222.java:738)
at us.potatoboy.skywars.game.SkyWarsActive.tick(SkyWarsActive.java:317)
at xyz.nucleoid.plasmid.game.event.GameActivityEvents.lambda$static$8(GameActivityEvents.java:98)
at xyz.nucleoid.plasmid.Plasmid.lambda$registerCallbacks$2(Plasmid.java:106)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$6(ServerTickEvents.java:63)
at net.minecraft.class_3218.handler$zge000$fabric-lifecycle-events-v1$endWorldTick(class_3218.java:2774)
at net.minecraft.class_3218.method_18765(class_3218.java:410)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:948)
at net.minecraft.class_3176.method_3813(class_3176.java:283)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:845)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:683)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:840)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant