Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- World w = Bukkit.getWorld("world");
- Location loc = new Location(p.getWorld(), getConfig().getDouble("drops.x"), getConfig().getDouble("drops.y"), getConfig().getDouble("drops.z"));
- //Material, Nombre
- w.dropItem(loc, new ItemStack(Material.DIAMOND_AXE, 24));
- ===========Config.yml========
- drops:
- x: -341.731
- y: 63.0
- z: 475.777
Advertisement
Add Comment
Please, Sign In to add comment