FallingColors/HexMod

Cleric Impetus Log Spam

Closed this issue · 0 comments

Modloader

Fabric

Minecraft version

1.20.1

Hex Casting version

0.11.1-7-pre-637

Modloader version

No response

Modpack info

No response

The latest.log file

No response

Issue description

When looking at a bound cleric impetus with a scrying lens equipped, the client log is spammed with '[Render thread/ERROR]: Called getStoredPlayer on the client' every frame.

I tracked the message to line 82 in BlockEntityRedstoneImpetus.java. I don't feel experienced enough with MC modding to create a PR, but it seems like a simple fix would be to check if the code is running on the client before calling getStoredPlayer() in getPlayerName().

Steps to reproduce

  1. Equip a Scrying Lens
  2. Look at a bound Cleric Impetus

Other information

No response