mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +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
|
@Override
|
||||||
public void giveItem(int type, int amt) {
|
public void giveItem(int type, int amt) {
|
||||||
player.getWorld().dropItem(player.getLocation(), new ItemStack(type, amt));
|
player.getInventory().addItem(new ItemStack(type, amt));
|
||||||
// TODO: Make this actually give the item
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user