Esempio n. 1
0
 @Override
 public boolean restoreSnapshot(
     int x, int y, int z, BlockSnapshot snapshot, boolean force, boolean notifyNeighbors) {
   snapshot = snapshot.withLocation(new Location<>(this, new Vector3i(x, y, z)));
   return snapshot.restore(force, notifyNeighbors);
 }
Esempio n. 2
0
 @Override
 public boolean restoreSnapshot(BlockSnapshot snapshot, boolean force, boolean notifyNeighbors) {
   return snapshot.restore(force, notifyNeighbors);
 }