Applied Energistics 2

Applied Energistics 2

137M Downloads

Keys with ContainerItemStrategy may have their strategies inappropriately mixed

ramidzkh opened this issue ยท 0 comments

commented

Describe the bug

ContainerItemContext never checks if the chosen strategy is valid for the AEKey passed. This can cause casting exceptions later on

How to reproduce the bug

  1. Place chemical in any ME slot
  2. Try using a bucket on it

Expected behavior

Nothing will happen

Additional details

No response

Which minecraft version are you using?

1.18

On which mod loaders does it happen?

Forge

Crash log

https://gist.github.com/4327e48487a6a48b742529e9779f2900