You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
Error Exception in thread "Client thread" java.lang.ExceptionInInitializerError
at bedless.RPC.start(RPC.java:24)
at net.minecraft.client.Minecraft.(Minecraft.java:384)
at net.minecraft.client.main.Main.main(Main.java:113)
Caused by: java.lang.NullPointerException
at net.arikia.dev.drpc.DiscordRPC.copyFile(DiscordRPC.java:165)
at net.arikia.dev.drpc.DiscordRPC.loadDLL(DiscordRPC.java:153)
at net.arikia.dev.drpc.DiscordRPC.(DiscordRPC.java:21)
... 3 more
Here is the code
package bedless;
import java.util.Date;
import com.ibm.icu.text.SimpleDateFormat;
import net.arikia.dev.drpc.DiscordEventHandlers;
import net.arikia.dev.drpc.DiscordRPC;
import net.arikia.dev.drpc.DiscordRichPresence;
import net.arikia.dev.drpc.DiscordUser;
import net.arikia.dev.drpc.callbacks.ReadyCallback;
public class RPC extends Client {
DiscordEventHandlers handlers = new DiscordEventHandlers.Builder().setReadyEventHandler(new ReadyCallback() {
@Override
public void apply(DiscordUser user) {
}
}).build();
public void start() {
DiscordRPC.discordInitialize("858420957680762881", handlers, true);
DiscordRichPresence rich = new DiscordRichPresence.Builder("Idle").setBigImage("bedlessmain", "bedlessmain").setStartTimestamps(System.currentTimeMillis()).build();
DiscordRPC.discordUpdatePresence(rich);
}
public void stop() {
DiscordRPC.discordShutdown();
}
public void joinServer() {
DiscordRichPresence rich = new DiscordRichPresence.Builder("Idle").setBigImage("bedlessmain", "bedlessmain").build();
DiscordRPC.discordUpdatePresence(rich);
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here is the error:
Error Exception in thread "Client thread" java.lang.ExceptionInInitializerError
at bedless.RPC.start(RPC.java:24)
at net.minecraft.client.Minecraft.(Minecraft.java:384)
at net.minecraft.client.main.Main.main(Main.java:113)
Caused by: java.lang.NullPointerException
at net.arikia.dev.drpc.DiscordRPC.copyFile(DiscordRPC.java:165)
at net.arikia.dev.drpc.DiscordRPC.loadDLL(DiscordRPC.java:153)
at net.arikia.dev.drpc.DiscordRPC.(DiscordRPC.java:21)
... 3 more
Here is the code
The text was updated successfully, but these errors were encountered: