Fixed an issue where torrent was causing errors after being frozen

This commit is contained in:
Nathan Braun 2015-01-04 11:53:49 -08:00
parent b4880c97ec
commit bcaba91d0e

View file

@ -557,7 +557,7 @@ public class Torrent {
thaw(block);
continue;
}
if (block.getLocation().distance(player.getLocation()) > instances.get(player).range || !Methods.canBend(player.getName(), "Torrent")) {
if (block.getLocation().distance(player.getLocation()) > RANGE || !Methods.canBend(player.getName(), "Torrent")) {
thaw(block);
}
}