Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage - Barrels] Client crash with Cyclic item cables #440

Open
Cynosphere opened this issue Feb 10, 2020 · 2 comments
Open

[Storage - Barrels] Client crash with Cyclic item cables #440

Cynosphere opened this issue Feb 10, 2020 · 2 comments

Comments

@Cynosphere
Copy link

Version 0.5.6.4, Minecraft 1.12.2

java.lang.ClassCastException: net.minecraft.client.multiplayer.WorldClient cannot be cast to net.minecraft.world.WorldServer
    at pl.asie.charset.lib.network.PacketRegistry.sendToWatching(PacketRegistry.java:84)
    at pl.asie.charset.lib.network.PacketRegistry.sendToWatching(PacketRegistry.java:98)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel.updateCountClients(TileEntityDayBarrel.java:711)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel.sync(TileEntityDayBarrel.java:737)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel.onItemChange(TileEntityDayBarrel.java:408)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel.extractItem(TileEntityDayBarrel.java:521)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel.access$100(TileEntityDayBarrel.java:70)
    at pl.asie.charset.module.storage.barrels.TileEntityDayBarrel$ExtractionHandler.extractItem(TileEntityDayBarrel.java:209)
    at com.lothrazar.cyclicmagic.block.cablepump.item.TileEntityItemPump.tryImport(TileEntityItemPump.java:221)
    at com.lothrazar.cyclicmagic.block.cablepump.item.TileEntityItemPump.update(TileEntityItemPump.java:154)
    at net.minecraft.world.World.redirect$tileEntityUpdate$zbo000(World.java:4137)
    at net.minecraft.world.World.updateEntities(World.java:1838)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1847)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1098)
    at net.minecraft.client.Minecraft.run(Minecraft.java:3942)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
@asiekierka
Copy link
Member

Cyclic is calling a server-side-only method on the client. This is most likely a bug in Cyclic, not Charset.

@asiekierka
Copy link
Member

Either way, I could not reproduce this specific crash, and at net.minecraft.world.World.redirect$tileEntityUpdate$zbo000(World.java:4137) makes me curious if some other mods were involved in the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants