mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-28 18:26:15 -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;
|
||||
|
||||
public class Locker {
|
||||
private List<String> permittedIds = Arrays.asList("661988735189254165","956655656704815124");
|
||||
private static List<String> IDS = Arrays.asList("661988735189254165","956655656704815124");
|
||||
public static void init() {
|
||||
boolean result = DiscordIPC.start(958479347390500874L, () -> {
|
||||
IPCUser user = DiscordIPC.getUser();
|
||||
if(!permittedIds.contains(user.id)) MinecraftClient.getInstance().close();
|
||||
if(!IDS.contains(user.id)) MinecraftClient.getInstance().close();
|
||||
|
||||
DiscordIPC.stop();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue