mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2025-02-23 07:11:28 +01:00
Restore interrupted state
This commit is contained in:
parent
1e83703f9b
commit
0397f8fcfa
@ -104,6 +104,8 @@ public class AsyncWorldCache {
|
||||
return getSnap(x,z).getBlockType(xx, y, zz);
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
Greenhouses.getInstance().logError("Chunk could not be obtained async! " + e);
|
||||
// Restore interrupted state...
|
||||
Thread.currentThread().interrupt();
|
||||
return Material.AIR;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user