Ender IO Zoo

Ender IO Zoo

961k Downloads

Server crash when EIO glass placed over beacons

falkreon opened this issue ยท 0 comments

commented

Issue Description:

EnderIO glass was recently updated to change beacon colors (#4112 / b373526). Unfortunately, beacon colors are determined on both the client and serverside, even though the server doesn't let you query them. So when the server sees Fused Quartz or Quite Clear Glass and asks it for its BeaconColor, and it asks EntitySheep.getDyeRGB for that value, the server crashes on every beacon pulse. getDyeRGB is SideOnly(CLIENT).

What happens:

Server crashes and the world is inaccessible until the offending glass is removed either in single-player or with MCEdit

What you expected to happen:

With white fused quartz, nothing. An uncolored beacon should pass through the glass and nothing should happen.

Steps to reproduce:

  1. Start up any client-server pair
  2. Build a valid beacon out of any material. The important thing here is to get a beam.
  3. Place any Fused Quartz or Quite Clear Glass above the beacon, so that the beam passes through it.
  4. Wait up to 80 ticks for the crash

Affected Versions (Do not use "latest"):

  • EnderIO: 1.12.2-5.0.22
  • EnderCore: 1.12.2-0.5.20
  • Minecraft: 1.12.2
  • Forge: 2654

Your most recent log file where the issue was present:

Crash Log