feat: 完善插件稳定性与兼容性

This commit is contained in:
2026-08-01 00:36:17 +08:00
parent f8f731f927
commit d9b1312e0c
44 changed files with 1523 additions and 471 deletions
@@ -42,8 +42,8 @@ public class MobDropCommand extends BaseCommand {
public static void openMobDropMenu(EssentialsC plugin, Player player) {
var lang = EssentialsC.getLangManager();
boolean endermanEnabled = plugin.getConfig().getBoolean("mob-drops.enderman.enabled", true);
String status = lang.getString(endermanEnabled
boolean endermanDropsAllowed = plugin.getConfig().getBoolean("mob-drops.enderman.allow-drops", true);
String status = lang.getString(endermanDropsAllowed
? "mobdrops-menu.status.enabled"
: "mobdrops-menu.status.disabled");