Created
November 19, 2015 21:20
-
-
Save Azuxul/7310544b62b6fc14f1e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@EventHandler | |
public void onBlockPlace(BlockPlaceEvent event) { | |
if(event.getItemInHand().getType().equals(Material.SKULL_ITEM)) { | |
SkullMeta meta = (SkullMeta) event.getItemInHand().getItemMeta(); | |
String owner = meta.getOwner(); | |
} | |
} | |
// Azuxul 2015 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment