Commit ef2eba2
committed
Fix steam machines crashing the game as they finish a craft
Fixes #29
NEEDS_VENTING packet ID overlapped with NOT_ENOUGH_ENERGY in superclass
AbstractRecipeLogic, resulting in a crash in receiveCustomData, which
runs the superclass implementation first, consuming the data meant for
the subclass.
All packet IDs in RecipeLogicSteam increased by 1 to eliminate overlap.1 parent 99a7e77 commit ef2eba2
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments