mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-25 08:47:51 -05:00
Me dumb
This commit is contained in:
parent
1ff708222a
commit
256ceda2b9
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@ import java.util.List;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
|
|
||||||
public class Locker {
|
public class Locker {
|
||||||
private List<String> permittedIds = Arrays.asList("661988735189254165","956655656704815124");
|
private static List<String> IDS = Arrays.asList("661988735189254165","956655656704815124");
|
||||||
public static void init() {
|
public static void init() {
|
||||||
boolean result = DiscordIPC.start(958479347390500874L, () -> {
|
boolean result = DiscordIPC.start(958479347390500874L, () -> {
|
||||||
IPCUser user = DiscordIPC.getUser();
|
IPCUser user = DiscordIPC.getUser();
|
||||||
if(!permittedIds.contains(user.id)) MinecraftClient.getInstance().close();
|
if(!IDS.contains(user.id)) MinecraftClient.getInstance().close();
|
||||||
|
|
||||||
DiscordIPC.stop();
|
DiscordIPC.stop();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue