Skip to content

Create:Power Grid Plotter fix

Fixes the "ArithmeticException: / by zero" client crash when looking at a Create: Power Grid Plotter with Engineer's Goggles.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Create: Power Grid Plotterfix

Crashed with java.lang.ArithmeticException: / by zero while looking at a Plotter in Create: Power Grid? This tiny mod fixes it.

The Bug:
A Plotter's sample buffer can end up empty (for example, when loaded from data with an empty sample list). The goggle tooltip then divides by the buffer length, which is 0, crashing the client on the render thread every time you look at the block.

What Plotterfix Does:

  • Restores a sane sample buffer when a Plotter loads with an empty one
  • Resets an out-of-range head index
  • Never lets a Plotter resample down to 0 samples
  • Catches any leftover math or index errors in the goggle tooltip so a broken Plotter can't crash you anymore

Plotters that are already broken in your world are repaired automatically when they load—nothing to remove or replace.