forked from SteamWar/SteamWar
Add sout
This commit is contained in:
@@ -70,11 +70,11 @@ public class IngameListener extends GameStateBukkitListener {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
List<Pos> posList = blocksToMelt.remove(time);
|
List<Pos> posList = blocksToMelt.remove(time);
|
||||||
System.out.println(blocksToMelt.size() + (posList != null ? 1 : 0) + " " + (posList != null ? posList.size() : "<EMPTY>"));
|
|
||||||
time++;
|
time++;
|
||||||
if (posList == null) {
|
if (posList == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
System.out.println(blocksToMelt.size() + " " + posList.size() + " " + blocksToMelt.values().stream().mapToInt(List::size).sum());
|
||||||
int maxBlocks = 1_000;
|
int maxBlocks = 1_000;
|
||||||
while (maxBlocks > 0 && !posList.isEmpty()) {
|
while (maxBlocks > 0 && !posList.isEmpty()) {
|
||||||
Pos pos = posList.removeFirst();
|
Pos pos = posList.removeFirst();
|
||||||
|
|||||||
Reference in New Issue
Block a user