Skip to content

Entity Anchored Gate bugs when the entity is dead #202

@EvansJahja

Description

@EvansJahja

Modloader

Forge

Minecraft version

1.20.1

Hex Casting version

0.11.3

Hexal version

0.3.1

Modloader version

Forge 47.4.10

Modpack info

No response

The latest.log file

https://mclo.gs/uAfQCUa#L3240

Issue description

Using entity anchored gate on entity that's no longer exists throws java exception

Steps to reproduce

  1. Make entity anchored gate to a mob (Spider), put any offset (0,0,0)
  2. Kill said entity
  3. Use the gate (gate's opening, gate's closing)

This raises a java exception: java.lang.IllegalStateException: non-drifting gates should always have a target pos.

What I expect: Mishaps

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions