Blood Magic

Blood Magic

94M Downloads

New Lava Crystal Crash

Sniffity opened this issue ยท 2 comments

commented

Issue Description: A different Lava Crystal Crash, unrelated to the one previously reported.

What happens: Game crashes when right clicking the ground with a Lava Crystal.

What you expected to happen: Ground to light on fire, Lava Crystal to get bound to user.

Steps to reproduce:

  1. Acquire a Lava Crystal (doesn't matter if crafted or creative)
  2. Right click the ground.
  3. Game will crash.
    ...

Affected Versions (Do not use "latest"):

If any more details are required, my Discord ID is Sniffity#9803

commented

Most/All of this should be happening only on the server:

public ActionResultType onItemUse(ItemUseContext context)

NetworkHelper.getNetwork will return null on a client connected to a server:

if (ServerLifecycleHooks.getCurrentServer() == null)
return null;

commented

Fixed.