VazkiiMods / Psi

Spellcrafting mod for Minecraft based around Vector math and stack-based processing
http://psi.vazkii.net
315 stars 89 forks source link

Fix raycast not enforcing max length properly #752

Closed gdavid04 closed 3 years ago

Kamefrede commented 3 years ago

Place the logic into a new SpellHelpers method, please. Seems to be a recurring pattern so might as well have it there instead of just copy pasting it everywhere and then it borking when one place is changed.