Applied Energistics 2

Applied Energistics 2

137M Downloads

Pattern terminal can void patterns

Mari023 opened this issue ยท 1 comments

commented

Describe the bug

  1. if you create a pattern in processing mode without an item in the upper left input slot, no pattern will be created but a blank pattern will be used
  2. if you try to create a pattern without an item in the primary output slot, the game will crash
    (this is my bug, the "wired" pattern terminal will just not create a pattern as (probably) intended)
    I just tested it wrong, the "wired" pattern terminal WILL crash to.

How to reproduce the bug

This is a bit tricky due to #5512

  1. a) place at least one item in any one of the input slots, but not the top left slot.
    b) try to create a pattern
    c) the blank pattern will be used, but no pattern will be created
  2. a) place an item in a secondary output slot, but not the primary slot
    b) place an item in the top left input slot (to avoid 1.)
    c) create a pattern
    d) it looks like a pattern is produced, but then the game crashes

Expected behavior

  1. It should just create the pattern like it had in previous versions
  2. this is a bit more complicated due to the mechanics having changed, but in any case, instead of crashing it should just not create a pattern

Additional details

Which minecraft version are you using?

1.17

On which mod loaders does it happen?

Fabric

Crash log

old crash log (ae2wtlib): https://gist.github.com/Mari023/12f8cd7e0fcadcaad0358e511dd0df0e
new crash log (just ae2): https://gist.github.com/Mari023/4c6dd55c461b1ac378f44dca09923eee

commented

Will be fixed in 9.0.0-alpha.3