Created
October 6, 2019 21:57
-
-
Save jwulf/d9ca608fde70b70e0cd1679a1f7aa034 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const magik = magikcraft.io; | |
function main () { | |
const MATERIAL = Java.type('org.bukkit.Material').COMPASS | |
const ItemStack = Java.type('org.bukkit.inventory.ItemStack') | |
const TheThing = new ItemStack(MATERIAL) | |
self.getInventory().addItem(TheThing) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment