creayun stuff

This commit is contained in:
Chayapak 2023-10-11 20:43:54 +07:00
parent 209ff349df
commit ab7bf7cd8a
2 changed files with 3 additions and 1 deletions

View file

@ -193,6 +193,8 @@ public class Bot {
true
)
);
if (options.creayun) chat.send("/server creative");
} else if (packet instanceof ClientboundGameProfilePacket) packetReceived((ClientboundGameProfilePacket) packet);
}

View file

@ -91,7 +91,7 @@ public class SelfCarePlugin extends Bot.Listener {
// chat only
if (selfCares.op && permissionLevel < 2) bot.chat.send("/minecraft:op @s[type=player]");
else if (selfCares.gamemode && gamemode != GameMode.CREATIVE) bot.chat.send("/minecraft:gamemode creative @s[type=player]");
else if (selfCares.gamemode && gamemode != GameMode.CREATIVE && !bot.options.creayun) bot.chat.send("/minecraft:gamemode creative @s[type=player]");
else if (selfCares.cspy && !cspy && kaboom) bot.chat.send("/commandspy:commandspy on");
else if (selfCares.prefix.enabled && !prefix && kaboom) bot.chat.send("/extras:prefix " + bot.config.selfCare.prefix.prefix);
else if (selfCares.username && !username && kaboom) bot.chat.send("/extras:username " + bot.username);