mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-03-07 13:48:00 +08:00
Changed BukkitWorld in hopes that it will fix the error regarding ItemStack.getDamage().
This commit is contained in:
parent
2630226052
commit
8a35c3230c
@ -415,7 +415,7 @@ private BaseItemStack[] getContainerBlockContents(Vector pt) {
|
||||
contents[i] = new BaseItemStack(
|
||||
bukkitStack.getTypeId(),
|
||||
bukkitStack.getAmount(),
|
||||
bukkitStack.getDamage());
|
||||
(byte)bukkitStack.getDamage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user