File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Common/src/main/java/at/petrak/hexcasting/common/casting/actions/spells/great Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11package at.petrak.hexcasting.common.casting.actions.spells.great
22
3+ import at.petrak.hexcasting.api.HexAPI
34import at.petrak.hexcasting.api.casting.ParticleSpray
45import at.petrak.hexcasting.api.casting.RenderedSpell
56import at.petrak.hexcasting.api.casting.castables.SpellAction
@@ -74,7 +75,8 @@ object OpBrainsweep : SpellAction {
7475 override fun cast (env : CastingEnvironment ) {
7576 env.world.setBlockAndUpdate(pos, BrainsweepRecipe .copyProperties(state, recipe.result))
7677
77- IXplatAbstractions .INSTANCE .setBrainsweepAddlData(sacrifice)
78+ HexAPI .instance().brainsweep(sacrifice)
79+
7880 if (sacrifice is Villager && HexConfig .server().doVillagersTakeOffenseAtMindMurder()) {
7981 env.castingEntity?.let { sacrifice.tellWitnessesThatIWasMurdered(it) }
8082 }
You can’t perform that action at this time.
0 commit comments