Update DepthCounterListener to count extension area as well
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
7eb642793c
Commit
cef509a9ce
@ -42,7 +42,7 @@ public class DepthCounterListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DepthCounter.depthMap.computeIfAbsent(region, r -> new HashSet<>());
|
DepthCounter.depthMap.putIfAbsent(region, new HashSet<>());
|
||||||
Set<Depth> depthSet = DepthCounter.depthMap.get(region);
|
Set<Depth> depthSet = DepthCounter.depthMap.get(region);
|
||||||
for (Depth depth : depthSet) {
|
for (Depth depth : depthSet) {
|
||||||
if (depth.update(event.blockList())) {
|
if (depth.update(event.blockList())) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren