mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
Fix Bloodbending in Non-Solid Blocks
• Fixes Bloodbending not moving mobs in non-solid blocks
This commit is contained in:
parent
21d851fd69
commit
ed131156ce
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ public class Bloodbending {
|
|||
targetentities.remove(entity);
|
||||
continue;
|
||||
}
|
||||
Location location = GeneralMethods.getTargetedLocation(player, 6);
|
||||
Location location = GeneralMethods.getTargetedLocation(player, 6, 0, 6, 8, 9, 10, 11, 27, 28, 30, 31, 32, 37, 38, 39, 40, 50, 51, 55, 59, 63, 64, 65, 66, 68, 69, 70, 71, 72, 75, 76, 77, 78, 83, 93, 94, 104, 105, 111, 115, 117, 132, 141, 142, 143, 147, 148, 149, 150, 157, 175, 176, 177, 183, 184, 185, 187, 193, 194, 195, 196, 197);
|
||||
double distance = location.distance(newlocation);
|
||||
double dx, dy, dz;
|
||||
dx = location.getX() - newlocation.getX();
|
||||
|
|
Loading…
Reference in a new issue