diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/entity/pokeball/EmptyPokeBallEntity.kt b/common/src/main/kotlin/com/cobblemon/mod/common/entity/pokeball/EmptyPokeBallEntity.kt index 9d0f618bd2..191a7db4e7 100644 --- a/common/src/main/kotlin/com/cobblemon/mod/common/entity/pokeball/EmptyPokeBallEntity.kt +++ b/common/src/main/kotlin/com/cobblemon/mod/common/entity/pokeball/EmptyPokeBallEntity.kt @@ -198,7 +198,7 @@ class EmptyPokeBallEntity : ThrowableItemProjectile, PosableEntity, WaterDragMod discard() val player = this.owner as? ServerPlayer if (player?.isCreative == false) { - spawnAtLocation(defaultItem) + spawnAtLocation(pokeBall.stack()) } } } else { @@ -295,7 +295,7 @@ class EmptyPokeBallEntity : ThrowableItemProjectile, PosableEntity, WaterDragMod val owner = owner discard() val player = owner?.takeIf { it is ServerPlayer } as? ServerPlayer - if (player?.isCreative != true) spawnAtLocation(defaultItem) + if (player?.isCreative != true) spawnAtLocation(pokeBall.stack()) return }