you have to cast it to byte just set it to PacketPlayOutChat ppoc = new PacketPlayOutChat(cbc, (byte) 2);
u could try to set a custom name if that possible... never tried that before so if i'm wrong im sorry haha
i think what he's trying to say is that he need people to check for his plugins @stepmuel you can post you bugs and issues here and we will check them
create an scheduleAsyncRepeatingTask call a static integer to 5 set the scheduler to 20L and integer--; every run send a message every 20L (equals...
I think thats the wrong segment... don't want to be rude, but i think here comes the code issues and stuff like bugs
i don't really get what you're trying to do whit this code haha but you should check for HMCEssentials.plugin.getConfig().getString(p.getName() +...
normally there's no way to pass the InventoryClickEvent
that would be a bug... you can't click if you cancel the event... so if you spam click you get it and close the inventory again it should be back...
the problem could possibly be that you don't check if the entity is a player... try adding this if(e.getEntity() instanceof Player){...
i' try to use the InventoryClickEvent and check for event.getSlotType().equals(SlotType.ARMOR)
i'd put it in the PlayerJoinEvent and you should set it for every online player in case of a reload
just use the PlayerPickupItemEvent and check if the ArrayList "vanish" contains the player if so, cancel the event
sorry for my wrong post, here is a working method DecimalFormat df = new DecimalFormat("#.00"); df.format(1.1235463);
just set the itemstack to 64 ? ItemStack creep = new ItemStack(Material.MONSTER_EGG,64,(short)50); cause that does work for me
i think i got what you ment @EventHandler public void onExplode(EntityExplodeEvent e){ if(e.getEntity() instanceof Creeper){...
Separate names with a comma.