Skip to content

Commit

Permalink
fix: remove unnecessary static keyword causing mixin apply error
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdElAziz333 committed Oct 19, 2022
1 parent 75f4a87 commit 54a1fe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class BirdPathNodeMakerMixin {
* @reason Use optimized implementation which avoids scanning blocks for dangers where possible
* @author JellySquid, 2No2Name
*/
@Redirect(method = "getBlockPathType", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/pathfinder/FlyNodeEvaluator;checkNeighbourBlocks(Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes;"))
@Redirect(method = "getBlockPathType*", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/pathfinder/FlyNodeEvaluator;checkNeighbourBlocks(Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes;"))
private BlockPathTypes getNodeTypeFromNeighbors(BlockGetter world, BlockPos.MutableBlockPos pos, BlockPathTypes type) {
return PathNodeCache.getNodeTypeFromNeighbors(world, pos, type);
}
Expand Down

0 comments on commit 54a1fe7

Please sign in to comment.