Skip to content

Commit a9f2593

Browse files
[1.13.0.6]回退ParticleObject.spawnParticle内判断是否running的判断
1 parent d94df7d commit a9f2593

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
java.sourceCompatibility = JavaVersion.VERSION_1_8
22
java.targetCompatibility = JavaVersion.VERSION_1_8
33
rootProject.group = "com.crypticlib"
4-
rootProject.version = "1.13.0.5"
4+
rootProject.version = "1.13.0.6"
55
//当全项目重构时更新大版本号,当添加模块或有较大更改时更新子版本号,当bug修复和功能补充时更新小版本号
66

77
var repositoryUrl = "https://repo.crypticlib.com:8081/repository/"

module/bukkit/particle/src/main/java/crypticlib/particle/pobject/ParticleObject.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,6 @@ public void spawnParticle(Location location) {
607607
* @param data 特殊粒子属性
608608
*/
609609
public void spawnParticle(Location location, Particle particle, int count, double offsetX, double offsetY, double offsetZ, double extra, Object data) {
610-
if (!running) {
611-
//如果不在运行,不生成粒子
612-
return;
613-
}
614-
615610
Location showLocation = location;
616611
if (hasMatrix()) {
617612
Vector vector = location.clone().subtract(originLocation).toVector();
@@ -642,11 +637,6 @@ public void spawnParticle(Location location, Particle particle, int count, doubl
642637
}
643638

644639
public void spawnColorParticle(Location location, int r, int g, int b) {
645-
if (!running) {
646-
//如果不在运行,不生成粒子
647-
return;
648-
}
649-
650640
Location showLocation = location;
651641
if (hasMatrix()) {
652642
Vector vector = location.clone().subtract(originLocation).toVector();

0 commit comments

Comments
 (0)