public void onWorldJoin(EntityJoinWorldEvent e){
if (e.getEntity()==Minecraft.getMinecraft().player){
System.out.println(e.getWorld().getWorldInfo().get);
}
}
I tried to identify which world I am in on the server with the above code.
However, in the case of the server on Bungeecord, it shows "MpServer" in all worlds and I cannot identify it.
Is there any way to solve this problem?