Skip to content

Players riding a vehicle crash server when hitting border. #13

Description

@drheat

Players in a boat crash the server when hitting the border and being remounted, on this line: https://github.com/abused/World-Border/blob/master/src/main/java/com/wimbli/WorldBorder/BorderCheck.java#L65

This is on a dedicated forge-1.12.2-14.23.5.2836 server, using version World-Border-1.12.2-1.0.5

Relevant log fragment from the debug log:

[02:50:38] [Server thread/TRACE] [worldborder]: Border crossing @ world 'world'. Border: radius 10000 at X: 20.5 Z: 248.5
[02:50:38] [Server thread/TRACE] [worldborder]: Player @ X: 851.75 Y: 62.07 Z: -9717.47
[02:50:38] [Server thread/TRACE] [worldborder]: New position @ X: 851.50 Y: 62.00 Z: -9713.50
[02:50:38] [Server thread/TRACE] [worldborder]: Player was riding a "EntityBoat['Boat'/349, l='world', x=851.75, y=62.52, z=-9717.47]".
[02:50:38] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$ServerTickEvent@3829bbe9:
java.lang.IllegalAccessError: tried to access field net.minecraft.entity.Entity.field_184244_h from class com.wimbli.WorldBorder.BorderCheck
        at com.wimbli.WorldBorder.BorderCheck.checkPlayer(BorderCheck.java:65) ~[BorderCheck.class:?]
        at com.wimbli.WorldBorder.task.BorderCheckTask.onServerTick(BorderCheckTask.java:48) ~[BorderCheckTask.class:?]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions