From e4ac1cb72be5543b033c6f44974e7e9678094387 Mon Sep 17 00:00:00 2001 From: Tristan Date: Sat, 26 Mar 2022 10:41:32 -0400 Subject: [PATCH] Particable bump --- build.gradle.kts | 2 +- src/main/kotlin/world/cepi/region/command/RegionCommand.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 17434be..df9d39e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -42,7 +42,7 @@ dependencies { compileOnly("com.github.Project-Cepi:MobExtension:4eb377e311") // Add particable - compileOnly("com.github.Project-Cepi.Particable:common:5fdbd66765") + compileOnly("com.github.Project-Cepi.Particable:common:ad9ec542a8") // import kotlinx serialization compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1") diff --git a/src/main/kotlin/world/cepi/region/command/RegionCommand.kt b/src/main/kotlin/world/cepi/region/command/RegionCommand.kt index 40d38af..c601c4a 100644 --- a/src/main/kotlin/world/cepi/region/command/RegionCommand.kt +++ b/src/main/kotlin/world/cepi/region/command/RegionCommand.kt @@ -20,6 +20,7 @@ import world.cepi.particle.Particle import world.cepi.particle.ParticleType import world.cepi.particle.data.OffsetAndSpeed import world.cepi.particle.renderer.Renderer +import world.cepi.particle.renderer.render import world.cepi.region.api.RegionProvider import world.cepi.region.command.RegionArguments.existingRegion import world.cepi.region.command.RegionArguments.list @@ -87,7 +88,7 @@ object RegionCommand : Kommand({ syntax(show, existingRegion) { (!existingRegion).selections.forEach { Renderer.fixedRectangle(it.pos1, it.pos2) - .renderOnce(Particle.particle(ParticleType.FLAME, 1, OffsetAndSpeed(0f, 0f, 0f, 0f), NoData, true), player) + .render(Particle.particle(ParticleType.FLAME, 1, OffsetAndSpeed(0f, 0f, 0f, 0f), NoData, true), player) } }