Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Particable bump
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Mar 26, 2022
1 parent 6ff0573 commit e4ac1cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
3 changes: 2 additions & 1 deletion src/main/kotlin/world/cepi/region/command/RegionCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}
}

Expand Down

0 comments on commit e4ac1cb

Please sign in to comment.