Skip to content
New issue

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

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

Already on GitHub? # to your account

G4mespeed + fixed speed + block event separator = crash #3

Closed
Sussy-OS opened this issue May 19, 2023 · 5 comments
Closed

G4mespeed + fixed speed + block event separator = crash #3

Sussy-OS opened this issue May 19, 2023 · 5 comments

Comments

@Sussy-OS
Copy link

Hello there, SpaceWalker. With the latest version of G4mespeed, I turned the tps to 0.156, set animation to fixed speed, then pressed m to reset the tickspeed, and boom, minecraft crashed.

[11:51:54] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2338.method_10263()" because "$$0" is null
	at net.minecraft.class_1923.method_37232(class_1923.java:61) ~[client-intermediary.jar:?]
	at net.minecraft.class_1937.tickMovingBlocks_bes(class_1937.java:1151) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.tickFixedSpeed_bes(class_310.java:3166) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.handler$zzl000$block-event-separator$tickFixedSpeed(class_310.java:3107) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1574(class_310.java:1941) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1150) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:781) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.method_44604(Main.java:244) ~[Fabric%201.19.3.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:51) ~[Fabric%201.19.3.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) ~[fabric-loader-0.14.19.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.19.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.19.jar:?]
@SpaceWalkerRS
Copy link
Owner

Thanks for the report! I've been having trouble figuring out what the issue is, when I stumbled upon a very similar issue with Lithium. Do you happen to be running Lithium? If so, can you try removing it and see if the issue persists?

@Sussy-OS
Copy link
Author

I do happen to have Lithium, I will attempt to remove it, and try again. Keep in mind, I can still use block event separator fine, even with Lithium installed. Only when I turn fixed speed on in G4mespeed does it crash.

@2No2Name
Copy link
Contributor

2No2Name commented Jun 2, 2023

Lithium allows certain block entities to sleep by temporarily replacing their block entity ticker with a dummy ticker. The dummy ticker does not return a non-null position, because it doesn't have a reference to the block entity.

@2No2Name
Copy link
Contributor

2No2Name commented Jun 2, 2023

@Sussy-OS
Copy link
Author

Sussy-OS commented Jun 2, 2023

Thanks for the report! I've been having trouble figuring out what the issue is, when I stumbled upon a very similar issue with Lithium. Do you happen to be running Lithium? If so, can you try removing it and see if the issue persists?

Oh yeah, forgot about this. I removed Lithium, and was not able to reproduce the bug anymore.

SpaceWalkerRS added a commit that referenced this issue Jun 2, 2023
fix: #3 Crash with Lithium's Sleeping Block Entities
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants