IotaBread/player-events

[BUG] Mod crash on start on client

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

Steps to reproduce the behaviour:
I have intellij Idea, if i uncomment this code:
PlayerKillEntityCallback.EVENT.register ...
and then run gradle task "fabric:runClient, the game crash
i can only use on my server, but i will be able to have EntityKilledEvent on my client

this is my complete logs: https://pastebin.com/83vDa2ug
see line 144

The mod/api is only server side, it isn't meant to work on clients