Posted June 21, 201411 yr I don't want to chack when it closes the client, but when i exit a world, is there a way to check that? Actually i don't know what to write in this signature soooo.... anyway
June 21, 201411 yr Author PlayerEvent.PlayerLoggedOutEvent @SubscribeEvent public void onPlayerLogout(PlayerEvent.PlayerLoggedOutEvent event) { PotionGeneric = new ItemGlacialPotion(0, false, 16777215).setPotionName(""); } somehow it doesn't work anyway Actually i don't know what to write in this signature soooo.... anyway
June 21, 201411 yr Author PlayerEvent.PlayerLoggedOutEvent @SubscribeEvent public void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { PotionGeneric = new ItemGlacialPotion(0, false, 16777215); } well... this worked instead Actually i don't know what to write in this signature soooo.... anyway
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.