Fix Pathfinding and obscure glitchy buggy 0 tick farms
I swear the crap that stuff will abuse to make stuff happen is insane.
Hash codes apparently changing behavior of stuff based on its value, so
reverting e9fcee1190
Fixes #3346
Fixes #3341
This commit is contained in:
@@ -155,7 +155,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
- for (Iterator iterator = set.iterator(); iterator.hasNext(); f = Math.min(f1, f)) {
|
||||
- PathDestination pathdestination = (PathDestination) iterator.next();
|
||||
+ for (int i = 0, listSize = list.size(); i < listSize; i++) { // Paper
|
||||
+ for (int i = 0, listSize = list.size(); i < listSize; f = Math.min(f1, f), i++) { // Paper
|
||||
+ PathDestination pathdestination = list.get(i).getKey(); // Paper
|
||||
|
||||
f1 = pathpoint.a(pathdestination);
|
||||
|
||||
Reference in New Issue
Block a user