[1.20.1 indev] ModularItemMenu.java: client side class is used on DEDICTED_SERVER
Username404-59 opened this issue ยท 0 comments
I tested the indev 1.20.1 version on a dedicated server which resulted in it crashing because of this being ran:
} else {
Minecraft.getInstance().getSoundManager().play(SimpleSoundInstance.forUI(SoundEvents.UI_BUTTON_CLICK, 1.0F));
}
on server side too
Edit: wrongly labeled as 1.16 obviously