diff --git a/Common/src/main/java/at/petrak/hexcasting/common/casting/actions/circles/OpCircleBounds.kt b/Common/src/main/java/at/petrak/hexcasting/common/casting/actions/circles/OpCircleBounds.kt index 8081552a..777ff834 100644 --- a/Common/src/main/java/at/petrak/hexcasting/common/casting/actions/circles/OpCircleBounds.kt +++ b/Common/src/main/java/at/petrak/hexcasting/common/casting/actions/circles/OpCircleBounds.kt @@ -11,10 +11,10 @@ import net.minecraft.world.phys.Vec3 class OpCircleBounds(val max: Boolean) : ConstMediaAction { override val argc = 0 - override fun execute(args: List, ctx: CastingEnvironment): List { - if (ctx !is CircleCastEnv) + override fun execute(args: List, env: CastingEnvironment): List { + if (env !is CircleCastEnv) throw MishapNoSpellCircle() - val circle = ctx.impetus ?: throw MishapNoSpellCircle() + val circle = env.impetus ?: throw MishapNoSpellCircle() val aabb = circle.executionState!!.bounds // the circle should have an execution state since it's executing this. diff --git a/Forge/gradle.properties b/Forge/gradle.properties index 8b695f76..3dcf2ae0 100644 --- a/Forge/gradle.properties +++ b/Forge/gradle.properties @@ -1,4 +1,4 @@ -forgeVersion=47.0.3 +forgeVersion=47.1.43 kotlinForForgeVersion=4.3.0 diff --git a/gradle.properties b/gradle.properties index b0651f86..79efc457 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ kotlinVersion=1.7.20 modVersion=0.11.1-7 paucalVersion=0.6.0 -patchouliVersion=80 +patchouliVersion=82 jeiVersion=15.0.0.12 -pehkuiVersion=3.7.6 +pehkuiVersion=3.7.7