Mekanism

Mekanism

111M Downloads

[8.0.0] Teleporter packet error.

halvors opened this issue ยท 5 comments

commented

When connecting to a server with a teleporter in the chunk. It throws an error and instant disconnects the player.

Crash log: http://pastebin.com/6khdX1h7

commented

@aidancbrady I believe you rewrote this stuff recently, right?

commented

Think i narrowed down the issue:

public FrequencyManager getManager(Frequency freq) on line 191 in TileEntityTeleporter returns null if(owner == null || freq == null). This seems to cause the line described in the stacktrace to crash.

But i'm not sure exactly how to fix this.

commented

Hmm. What's strange is that i actually can't reproduce this in an new world. Have to be some NBT data for v7 portals that is messing this up. But could cause potential issues with users upgrading to v8 and crashing because of this.

commented

Indeed it is. Just added a check for v7 teleporters, should be well now :)

commented

Excellent :)