mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
//wand now gives the wand item directly.
This commit is contained in:
parent
eff7dac690
commit
7afe38180c
@ -65,8 +65,7 @@ public class BukkitPlayer extends LocalPlayer {
|
||||
|
||||
@Override
|
||||
public void giveItem(int type, int amt) {
|
||||
player.getWorld().dropItem(player.getLocation(), new ItemStack(type, amt));
|
||||
// TODO: Make this actually give the item
|
||||
player.getInventory().addItem(new ItemStack(type, amt));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user