Changed all references to BaseItem.getDamage to getData.

This commit is contained in:
TomyLobo
2012-08-24 13:39:52 +02:00
parent 07e270289e
commit 186fbb98a2
6 changed files with 10 additions and 10 deletions

View File

@ -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);
}