forked from SteamWar/SteamWar
Fix OOM?
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
PREFIX=§eTowerRun§8§§r
|
PREFIX=§eTowerRun§8»§r
|
||||||
|
|
||||||
PLAYER_DIED=§c{0} §7died§8!
|
PLAYER_DIED=§c{0} §7died§8!
|
||||||
PLAYER_ESCAPE=§a{0} §7escaped§8!
|
PLAYER_ESCAPE=§a{0} §7escaped§8!
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ public class IngameListener extends GameStateBukkitListener {
|
|||||||
if (blocksToBreak.isEmpty()) {
|
if (blocksToBreak.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
System.out.println(blocksToBreak.size() + "/" + blocksToMelt.size());
|
|
||||||
for (Pos pos : blocksToBreak) {
|
for (Pos pos : blocksToBreak) {
|
||||||
blocksToMelt.remove(pos);
|
blocksToMelt.remove(pos);
|
||||||
Block block = Bukkit.getWorlds().get(0).getBlockAt(pos.x, pos.y, pos.z);
|
Block block = Bukkit.getWorlds().get(0).getBlockAt(pos.x, pos.y, pos.z);
|
||||||
|
|||||||
Reference in New Issue
Block a user