We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caab840 commit 61a2a97Copy full SHA for 61a2a97
2 files changed
common/src/main/kotlin/cn/coostack/cooparticlesapi/barrages/AbstractBarrage.kt
@@ -144,14 +144,17 @@ abstract class AbstractBarrage(
144
val otherBarrages = BarrageManager.collectClipBarrages(world, hitBox.get().ofBox(loc))
145
.filter(::filterHitBarrage)
146
result.barrages.addAll(otherBarrages)
147
- hit = true
+ if (otherBarrages.isNotEmpty()) {
148
+ hit = true
149
+ }
150
}
151
152
if (hit) {
153
hit(result)
154
155
156
157
+
158
/**
159
* 判定barrage已经攻击到实体或者触发方块/液体时执行
160
*/
gradle.properties
@@ -1,7 +1,7 @@
1
# Important Notes:
2
# Every field you add must be added to the root build.gradle expandProps map.
3
# Project
4
-version=2.3.4-SNAPSHOT
+version=2.3.5-SNAPSHOT
5
group=cn.coostack
6
artifact=cooparticlesapi
7
java_version=21
0 commit comments