From 0dbbea35582531463b5db850480f96b3e9bb8988 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 18 Jan 2021 23:35:50 +0100 Subject: [PATCH] Optimizing Stuff --- src/de/steamwar/bungeecore/commands/ChallengeCommand.java | 2 +- src/de/steamwar/bungeecore/commands/FightCommand.java | 2 +- src/de/steamwar/messages/BungeeCore.properties | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/ChallengeCommand.java b/src/de/steamwar/bungeecore/commands/ChallengeCommand.java index 06c7f405..b09a5b1f 100644 --- a/src/de/steamwar/bungeecore/commands/ChallengeCommand.java +++ b/src/de/steamwar/bungeecore/commands/ChallengeCommand.java @@ -48,7 +48,7 @@ public class ChallengeCommand extends BasicCommand { return; if(ModLoaderBlocker.isFabric((ProxiedPlayer) sender)) { - Message.send("FIGHT_FABRIC", sender); + Message.send("MODLOADER_DENIED", sender); return; } diff --git a/src/de/steamwar/bungeecore/commands/FightCommand.java b/src/de/steamwar/bungeecore/commands/FightCommand.java index 0e26ffa2..2009ded2 100644 --- a/src/de/steamwar/bungeecore/commands/FightCommand.java +++ b/src/de/steamwar/bungeecore/commands/FightCommand.java @@ -132,7 +132,7 @@ public class FightCommand extends BasicCommand { return; if(ModLoaderBlocker.isFabric(player) && !precommand.equals("/bau testarena ")) { - Message.send("FIGHT_FABRIC", sender); + Message.send("MODLOADER_DENIED", sender); return; } diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 4afc5444..644a8a26 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -180,7 +180,6 @@ FIGHT_UNKNOWN_GAMEMODE=§cUnbekannter Spielmodus: {0} FIGHT_UNKNOWN_ARENA=§cDie gewünschte Arena gibt es nicht. FIGHT_ARENA_RANDOM=Random FIGHT_IN_ARENA=§cDu befindest dich bereits in einer Arena. -FIGHT_FABRIC=§cHabe ich dir nicht gesagt, dass man mit Fabric/LiteLoader nicht auf die Arenen darf? FIGHT_BROADCAST=§7Klicke §ehier§7, um §e{0} §7gegen §e{1} §7zu §7kämpfen! FIGHT_BROADCAST_HOVER=§aGegen §7{0} §ekämpfen