Actionbar Message
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
zOnlyKroks 2023-10-07 17:08:41 +02:00
Ursprung fa9f5792ea
Commit 5555da69aa

Datei anzeigen

@ -20,6 +20,7 @@
package de.steamwar.bausystem.features.autodust;
import de.steamwar.bausystem.BauSystem;
import de.steamwar.bausystem.SWUtils;
import de.steamwar.bausystem.configplayer.Config;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
@ -52,8 +53,10 @@ public class AutoDustCommand extends SWCommand implements Listener {
if(!autoDust) {
BauSystem.MESSAGE.send("AUTODUST_ENABLE",p);
SWUtils.sendToActionbar(p, BauSystem.MESSAGE.parse("AUTODUST_ENABLE", p));
}else {
BauSystem.MESSAGE.send("AUTODUST_DISABLE",p);
SWUtils.sendToActionbar(p, BauSystem.MESSAGE.parse("AUTODUST_DISABLE", p));
}
}