The Aether II

The Aether II

6M Downloads

Client crash near removed Aether Gate position

bconlon1 opened this issue ยท 0 comments

commented

Severval players get crashd at similar position in overworld, and there used to be a Aether Gate.

at net.minecraft.util.math.BlockPos.func_177971_a(SourceFile:70) at com.gildedgames.aether.common.entities.tiles.multiblock.TileEntityMultiblockDummy.getLinkedController(TileEntityMultiblockDummy.java:95) at com.gildedgames.aether.common.entities.tiles.multiblock.TileEntityMultiblockDummy.getHoverText(TileEntityMultiblockDummy.java:127) at com.gildedgames.aether.common.blocks.multiblock.BlockMultiBase.getHoverText(BlockMultiBase.java:90) at com.gildedgames.aether.client.renderer.ClientRenderHandler.onRenderIngameOverlay(ClientRenderHandler.java:144) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_21_ClientRenderHandler_onRenderIngameOverlay_Pre.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.client.GuiIngameForge.pre(GuiIngameForge.java:907) at net.minecraftforge.client.GuiIngameForge.renderCrosshairs(GuiIngameForge.java:217) at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:148) at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1420) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

version: aether_ii-1.12.2-0.2.0+build42-universal.jar

Maybe

`@Override
public ITextComponent getHoverText(World world, RayTraceResult result)
{
TileEntity entity = this.world.getTileEntity(this.getLinkedController());

if (entity instanceof IWorldObjectHoverable)
{
    return ((IWorldObjectHoverable) entity).getHoverText(world, result);
}

return null;

}`

need to test if controllerPosOffset is null?

if (!this.hasLinkedController()) { return; }