mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-14 21:08:35 +00:00
Changed all references to BaseItem.getDamage to getData.
This commit is contained in:
@ -343,7 +343,7 @@ public abstract class LocalWorld implements World {
|
||||
|
||||
final int amount = stack.getAmount();
|
||||
if (amount > 1) {
|
||||
dropItem(pt, new BaseItemStack(stack.getType(), 1, stack.getDamage()), amount);
|
||||
dropItem(pt, new BaseItemStack(stack.getType(), 1, stack.getData()), amount);
|
||||
} else {
|
||||
dropItem(pt, stack, amount);
|
||||
}
|
||||
|
Reference in New Issue
Block a user