Skip to content

Commit

Permalink
MRPGNPC 1.1.8 VERSION
Browse files Browse the repository at this point in the history
BetterAI
  • Loading branch information
MufHead committed Apr 14, 2021
1 parent 6b0f390 commit 1915286
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 4 deletions.
Binary file modified out/production/MRPGNPC/com/muffinhead/MRPGNPC/NPCs/NPC$1.class
Binary file not shown.
Binary file modified out/production/MRPGNPC/com/muffinhead/MRPGNPC/NPCs/NPC$2.class
Binary file not shown.
Binary file modified out/production/MRPGNPC/com/muffinhead/MRPGNPC/NPCs/NPC$3.class
Binary file not shown.
Binary file modified out/production/MRPGNPC/com/muffinhead/MRPGNPC/NPCs/NPC.class
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author: MuffinHead
main: com.muffinhead.MRPGNPC.MRPGNPC
load: POSTWORLD
api: "1.0.8"
version: "1.1.7"
version: "1.1.8"
commands:
mrn:
description: "mrn"
Expand Down
2 changes: 1 addition & 1 deletion out/production/MRPGNPC/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author: MuffinHead
main: com.muffinhead.MRPGNPC.MRPGNPC
load: POSTWORLD
api: "1.0.8"
version: "1.1.7"
version: "1.1.8"
commands:
mrn:
description: "mrn"
Expand Down
2 changes: 0 additions & 2 deletions src/com/muffinhead/MRPGNPC/NPCs/NPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,11 @@ protected boolean checkJump(double dx, double dz) {
} else if (this.frontY <= (getGravity() * 4.0F)) {
if (block.getBoundingBox().getMaxY()-block.getY()<0.1) {
if (this.getY()<block.getBoundingBox().getMaxY()) {
System.out.println(this.frontY+this.y);
this.frontY += block.getBoundingBox().getMaxY() - block.getY();
}else{
this.frontY-=getGravity();
}
}else{
System.out.println(2);
this.frontY = (getGravity() * 4.0F);
}
} else if (block instanceof cn.nukkit.block.BlockSlab || block instanceof cn.nukkit.block.BlockStairs) {
Expand Down

0 comments on commit 1915286

Please sign in to comment.