apply DragonetMC/Glowstone #1 PR

the official Glowstone code update patch