Shoulder Surfing Reloaded

Shoulder Surfing Reloaded

26M Downloads

NullPointerException while trying to read "xOffset"

59xa opened this issue ยท 1 comments

commented

Minecraft Version: 1.21.10
Modloader: Fabric 0.17.3
OS: Windows 11 Pro 24H2

java.lang.NullPointerException: Cannot read field "xOffset" because "cameratweaks.ThirdPerson.current" is null
	at knot//net.minecraft.class_4184.handler$zlg000$cameratweaks$modifyThirdperson(class_4184.java:573)
	at knot//net.minecraft.class_4184.method_19321(class_4184.java:90)
	at knot//net.minecraft.class_757.method_3188(class_757.java:732)
	at knot//net.minecraft.class_757.method_3192(class_757.java:537)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1380)
	at knot//net.minecraft.class_310.method_1514(class_310.java:969)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:506)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:63)
	at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28)

shouldersurfing-client.toml.txt

Steps to Reproduce

  1. Equip mod
  2. Join a world
  3. Crash
  • Crashes when you switch perspectives or default perspective "SHOULDER_SURFING" is set.

(config file used to test the issue is provided)
(iris and caxton compatibility issue is unrelated)

Minecraft version

1.21.10

Game Logs

https://mclo.gs/NTcDXcy

commented

Thanks for the report. The crash is caused by camera tweaks. Please report it in their repository.