v2.5.0: fixed self-throwing aqua brew always going up-left
This commit is contained in:
+5
-3
@@ -41,9 +41,11 @@ public class AquaBrew extends Brew {
|
||||
geyser.source = this;
|
||||
|
||||
int userPos = curUser.pos;
|
||||
Ballistica aim = new Ballistica(userPos, cell, Ballistica.STOP_TARGET);
|
||||
if (aim.path.size() > aim.dist+1) {
|
||||
geyser.centerKnockBackDirection = aim.path.get(aim.dist + 1);
|
||||
if (userPos != cell){
|
||||
Ballistica aim = new Ballistica(userPos, cell, Ballistica.STOP_TARGET);
|
||||
if (aim.path.size() > aim.dist+1) {
|
||||
geyser.centerKnockBackDirection = aim.path.get(aim.dist + 1);
|
||||
}
|
||||
}
|
||||
geyser.activate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user