世界BOSS

This commit is contained in:
yaohunya 2024-07-14 00:31:04 +08:00
parent adf354267a
commit 60f7c9891d
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
package com.io.yaohun.worldbosshurt.api;
import com.io.yaohun.worldbosshurt.Main;
import com.io.yaohun.worldbosshurt.mangage.BossManage;
public abstract class BossHurtAPI {
// 判断这个怪是否是世界boss
public static boolean isBossExist(String customName){
BossManage bossManage = Main.bossManage;
if(bossManage.isCustomNameContains(customName)){
return true;
}
return false;
}
}

View File

@ -1,5 +1,5 @@
name: WorldBossHurt name: WorldBossHurt
main: com.io.yaohun.worldbosshurt.main main: com.io.yaohun.worldbosshurt.Main
version: 1.0.0 version: 1.0.0
commands: commands:
bosspz: bosspz: