Skip to content

Death messages leak into lobby #54

@Restioson

Description

@Restioson

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions