-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the compatibility of Citizens plugin
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
patches/minecraft/net/minecraft/pathfinding/PathFinder.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- ../src-base/minecraft/net/minecraft/pathfinding/PathFinder.java | ||
+++ ../src-work/minecraft/net/minecraft/pathfinding/PathFinder.java | ||
@@ -33,7 +33,7 @@ | ||
} | ||
|
||
@Nullable | ||
- private Path func_186334_a(IBlockAccess p_186334_1_, EntityLiving p_186334_2_, double p_186334_3_, double p_186334_5_, double p_186334_7_, float p_186334_9_) | ||
+ public Path func_186334_a(IBlockAccess p_186334_1_, EntityLiving p_186334_2_, double p_186334_3_, double p_186334_5_, double p_186334_7_, float p_186334_9_) | ||
{ | ||
this.field_75866_b.func_75848_a(); | ||
this.field_176190_c.func_186315_a(p_186334_1_, p_186334_2_); | ||
@@ -45,7 +45,7 @@ | ||
} | ||
|
||
@Nullable | ||
- private Path func_186335_a(PathPoint p_186335_1_, PathPoint p_186335_2_, float p_186335_3_) | ||
+ public Path func_186335_a(PathPoint p_186335_1_, PathPoint p_186335_2_, float p_186335_3_) | ||
{ | ||
p_186335_1_.field_75836_e = 0.0F; | ||
p_186335_1_.field_75833_f = p_186335_1_.func_186281_c(p_186335_2_); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters