mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
//wand now gives the wand item directly.
This commit is contained in:
parent
eff7dac690
commit
7afe38180c
@ -65,8 +65,7 @@ public double getYaw() {
|
||||
|
||||
@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