mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Use BlockState for player inventory getBlock
This commit is contained in:
@ -149,7 +149,7 @@ public class SnapshotRestore {
|
||||
// Now just copy blocks!
|
||||
for (Vector pos : entry.getValue()) {
|
||||
try {
|
||||
BaseBlock block = chunk.getBlock(pos);
|
||||
BlockState block = chunk.getBlock(pos);
|
||||
editSession.setBlock(pos, block);
|
||||
} catch (DataException e) {
|
||||
// this is a workaround: just ignore for now
|
||||
|
Reference in New Issue
Block a user