mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
refactor Items
This commit is contained in:
1 parent
f659231e34
commit
96435cfc76
8 files changed
+72
-58
No files matched your search
@@ -116,7 +116,7 @@ public class ItemBlock extends Item {
|
||||
world.setTypeId(i, j, k, 20);
|
||||
}
|
||||
|
||||
world.setTypeIdAndData(i, j, k, replacedBlockState.getTypeId(), replacedBlockState.getData().getData());
|
||||
world.setTypeIdAndData(i, j, k, replacedBlockState.getTypeId(), replacedBlockState.getRawData());
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user