mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Fixed an issue where torrent was causing errors after being frozen
This commit is contained in:
parent
b4880c97ec
commit
bcaba91d0e
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ public class Torrent {
|
||||||
thaw(block);
|
thaw(block);
|
||||||
continue;
|
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);
|
thaw(block);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue