Skip to content

Commit

Permalink
Fix server crash; bump version to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
barribob committed May 15, 2021
1 parent 976609f commit 409b292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ org.gradle.jvmargs=-Xmx1G
loom_version=0.5-SNAPSHOT

# Mod Properties
mod_version = 1.0.3
mod_version = 1.1
maven_group = net.barribob
archives_base_name = BOMD

Expand Down
6 changes: 1 addition & 5 deletions src/main/kotlin/net/barribob/boss/item/SoulStarEntity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ class SoulStarEntity(entityType: EntityType<out SoulStarEntity?>?, world: World?

playSound(Mod.sounds.soulStar, 1.0f, 1.0f)
this.remove()
val itemEntity = ItemEntity(world, this.x, this.y, this.z, this.stack)
world.spawnEntity(itemEntity)
ModComponents.getWorldEventScheduler(world).addEvent(TimedEvent({
particleBuilder.build(itemEntity.pos, itemEntity.velocity.multiply(0.1))
}, 0, 30, { itemEntity.removed }))
world.spawnEntity(ItemEntity(world, this.x, this.y, this.z, this.stack))
}
val n = if (this.y < targetY) 1 else -1
vec3d = Vec3d(
Expand Down

0 comments on commit 409b292

Please sign in to comment.