[F] Also remove block in map when breaking
This commit is contained in:
@@ -171,6 +171,9 @@ public class SeedServerCache extends Behavior
|
||||
// Remove block from list
|
||||
if (!cacheBlocks.removeIf(b -> b.equals(pos))) return;
|
||||
|
||||
// Remove block from map
|
||||
blocksMap.remove(pos.toString());
|
||||
|
||||
// Remove block from server
|
||||
HttpGet get = new HttpGet("http://localhost:12255/api/remove-block");
|
||||
get.setHeader("world", "world");
|
||||
|
||||
Reference in New Issue
Block a user