You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're coming across an issue in 1.17.1 where the server crashes when a ComputerCraft turtle breaks a block. I wasn't sure if this was a problem with Leukocyte or Roles specifically.
Description: Ticking block entity
java.lang.NullPointerException: player roles were not initialized
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
at net.minecraft.class_3222.getPlayerRoleSet(class_3222.java:18720)
at dev.gegy.roles.PlayerRoles$1.byEntity(PlayerRoles.java:58)
at dev.gegy.roles.api.RoleLookup.byPlayer(RoleLookup.java:25)
at xyz.nucleoid.leukocyte.roles.RoleAccessor$PlayerRoles.hasRole(RoleAccessor.java:45)
at xyz.nucleoid.leukocyte.rule.ProtectionExclusions.isExcluded(ProtectionExclusions.java:85)
at xyz.nucleoid.leukocyte.rule.ProtectionExclusions.lambda$applyToFilter$4(ProtectionExclusions.java:48)
at xyz.nucleoid.leukocyte.LeukocyteEventListenerSelector$ListenerIterator.computeNext(LeukocyteEventListenerSelector.java:53)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
at xyz.nucleoid.stimuli.StimuliSelector$ListenerIterator.computeNext(StimuliSelector.java:64)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
at xyz.nucleoid.stimuli.event.block.BlockBreakEvent.lambda$static$0(BlockBreakEvent.java:23)
at xyz.nucleoid.stimuli.StimuliInitializer.lambda$onInitialize$3(StimuliInitializer.java:58)
at net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.lambda$static$0(PlayerBlockBreakEvents.java:42)
at dan200.computercraft.shared.turtle.upgrades.TurtleTool.dig(TurtleTool.java:237)
at dan200.computercraft.shared.turtle.upgrades.TurtleTool.useTool(TurtleTool.java:96)
at dan200.computercraft.shared.turtle.core.TurtleToolCommand.execute(TurtleToolCommand.java:57)
at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:599)
at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:167)
at dan200.computercraft.shared.turtle.blocks.TileTurtle.serverTick(TileTurtle.java:277)
at dan200.computercraft.shared.computer.blocks.BlockComputerBase.lambda$getTicker$1(BlockComputerBase.java:223)
at net.minecraft.class_2818$class_5563.redirect$bdd000$checkProcessTEs(class_2818.java:1010)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:886)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:941)
at net.minecraft.class_1937.method_18471(class_1937.java:474)
at net.minecraft.class_3218.method_18765(class_3218.java:422)
at net.minecraft.server.MinecraftServer.redirect$bjp000$fixUpdateSuppressionCrashTick(MinecraftServer.java:7284)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:891)
at net.minecraft.class_3176.method_3813(class_3176.java:335)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:831)
at net.minecraft.server.MinecraftServer.handler$bda000$modifiedRunLoop(MinecraftServer.java:6390)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)
The text was updated successfully, but these errors were encountered:
We're coming across an issue in 1.17.1 where the server crashes when a ComputerCraft turtle breaks a block. I wasn't sure if this was a problem with Leukocyte or Roles specifically.
The text was updated successfully, but these errors were encountered: