Dieser Commit ist enthalten in:
Ursprung
fa9f5792ea
Commit
5555da69aa
@ -20,6 +20,7 @@
|
|||||||
package de.steamwar.bausystem.features.autodust;
|
package de.steamwar.bausystem.features.autodust;
|
||||||
|
|
||||||
import de.steamwar.bausystem.BauSystem;
|
import de.steamwar.bausystem.BauSystem;
|
||||||
|
import de.steamwar.bausystem.SWUtils;
|
||||||
import de.steamwar.bausystem.configplayer.Config;
|
import de.steamwar.bausystem.configplayer.Config;
|
||||||
import de.steamwar.command.SWCommand;
|
import de.steamwar.command.SWCommand;
|
||||||
import de.steamwar.linkage.Linked;
|
import de.steamwar.linkage.Linked;
|
||||||
@ -52,8 +53,10 @@ public class AutoDustCommand extends SWCommand implements Listener {
|
|||||||
|
|
||||||
if(!autoDust) {
|
if(!autoDust) {
|
||||||
BauSystem.MESSAGE.send("AUTODUST_ENABLE",p);
|
BauSystem.MESSAGE.send("AUTODUST_ENABLE",p);
|
||||||
|
SWUtils.sendToActionbar(p, BauSystem.MESSAGE.parse("AUTODUST_ENABLE", p));
|
||||||
}else {
|
}else {
|
||||||
BauSystem.MESSAGE.send("AUTODUST_DISABLE",p);
|
BauSystem.MESSAGE.send("AUTODUST_DISABLE",p);
|
||||||
|
SWUtils.sendToActionbar(p, BauSystem.MESSAGE.parse("AUTODUST_DISABLE", p));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren