Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Bug]: kick loop when breaking a waystone #11

@digdog59

Description

@digdog59

Is there an existing issue for this?

  • I have searched the existing issues

Description

A critical bug occurs ever once in a while when breaking a waystone on a server cuaseing an error which corrupts the chunck and kicking the player
I don't no whether it can happen on single player or not

To Reproduce

I don't know how to reproduce so I have included a log
It just happens some times when breaking a waystone

Expected behavior

It shouldn't throw an error when breaking a waystone

Mod Version

v3.0.0

Minecraft Version

1.19

Java Version

Java 18

Fabric Version

Fabric 1.19.2 (0.14.12)
fabric-api-0.73.2+1.19.2.jar

Relevant log output

[15:04:20] [Netty Epoll Server IO #41/ERROR]: Error receiving packet 80
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2520.method_10711()" because "$$1" is null
	at net.minecraft.class_2487.method_10555(class_2487.java:469) ~[server-intermediary.jar:?]
	at net.minecraft.class_2487.method_10713(class_2487.java:165) ~[server-intermediary.jar:?]
	at net.minecraft.class_2507.method_10631(class_2507.java:134) ~[server-intermediary.jar:?]
	at net.minecraft.class_2507.method_10628(class_2507.java:99) ~[server-intermediary.jar:?]
	at net.minecraft.class_2540.method_10794(class_2540.java:518) ~[server-intermediary.jar:?]
	at net.minecraft.class_2540.method_10793(class_2540.java:567) ~[server-intermediary.jar:?]
	at net.minecraft.class_2943$1.method_12731(class_2943.java:47) ~[server-intermediary.jar:?]
	at net.minecraft.class_2943$1.method_12715(class_2943.java:44) ~[server-intermediary.jar:?]
	at net.minecraft.class_2945.method_12782(class_2945.java:196) ~[server-intermediary.jar:?]
	at net.minecraft.class_2945.method_12787(class_2945.java:141) ~[server-intermediary.jar:?]
	at net.minecraft.class_2739.method_11052(class_2739.java:34) ~[server-intermediary.jar:?]
	at net.minecraft.class_2545.method_10838(class_2545.java:45) ~[server-intermediary.jar:?]
	at net.minecraft.class_2545.encode(class_2545.java:14) ~[server-intermediary.jar:?]
	at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[netty-codec-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.77.Final.jar:?]
	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.77.Final.jar:?]
	at net.minecraft.class_2535.method_36942(class_2535.java:209) ~[server-intermediary.jar:?]
	at net.minecraft.class_2535.method_10761(class_2535.java:201) ~[server-intermediary.jar:?]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) [netty-common-4.1.77.Final.jar:?]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) [netty-common-4.1.77.Final.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) [netty-common-4.1.77.Final.jar:?]
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391) [netty-transport-classes-epoll-4.1.77.Final.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions