Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

bukkit e.getCurrentItem() bytes?

if(item.getType() == Material.STAINED_GLASS_PANE && item.getData().getData() == (byte)10){
  // Purple Pane
}
Source by bukkit.org #
 
PREVIOUS NEXT
Tagged: #bukkit
ADD COMMENT
Topic
Name
1+9 =