Using ray/ beam spells through dispensers crashes the game when targeting players blocking with a shield.
NoMoreUsernames999 opened this issue · 6 comments
Minecraft version: 1.12.2
Wizardry version: 4.3.4
Environment: Singleplayer
Issue details: Using any type of beam or ray spell through a dispenser on a player who is blocking with a shield causes a crash. Tested with lightning ray, fire breath, ice ray, life drain, and wither. The crash is always the same. Yet to test with players VS shield instead of dispensers, but that would be a huge problem with having to disable all beam type spells on servers :(
Other mods involved: None. The crash is identical with spartan shields and vanilla shields so it seems to be a problem with Wizardry and the vanilla damage blocking mechanic.
Link to crash report: https://pastebin.pl/view/e891d96e
If I recall correctly this crash also happens if you die from a dispenser's spell ray. Without using a shield
You're right it does. So this means the problem is likely with the dispensers and not with the spells since I don't remember this happening with players. Would have been nice to have a config option that disables dispenser casting, since that would have been a temporary fix. I guess I'll just have to delay server launch until Electroblob gets it fixed :/
You can disable dispenser casting for each spell. You just need to duplicate their .json files in your server's config folder, there are more details on that in the wiki https://github.com/Electroblob77/Wizardry/wiki/Spell-Properties
spells.zip
if this helps - here is a copy of all spell jsons with dispensers disabled for all of them
All jsons go to the config/ebwizardry/spell
folder. What you need to do, is set "dispensers": false
for each