mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-24 09:02:01 +01:00
Remove debug
This commit is contained in:
parent
0293ac17df
commit
0ee8c63a66
@ -41,6 +41,7 @@ public class AdminCommands {
|
|||||||
public void reload(CommandContext args, CommandSender sender, NPC npc) throws CommandException {
|
public void reload(CommandContext args, CommandSender sender, NPC npc) throws CommandException {
|
||||||
Messaging.sendTr(sender, Messages.CITIZENS_RELOADING);
|
Messaging.sendTr(sender, Messages.CITIZENS_RELOADING);
|
||||||
try {
|
try {
|
||||||
|
|
||||||
plugin.reload();
|
plugin.reload();
|
||||||
Messaging.sendTr(sender, Messages.CITIZENS_RELOADED);
|
Messaging.sendTr(sender, Messages.CITIZENS_RELOADED);
|
||||||
} catch (NPCLoadException ex) {
|
} catch (NPCLoadException ex) {
|
||||||
|
@ -357,7 +357,6 @@ public class PlayerNavigation extends NavigationAbstract {
|
|||||||
} else if (this.c != null && this.c.f() < this.c.e()) {
|
} else if (this.c != null && this.c.f() < this.c.e()) {
|
||||||
Vec3D vec3D1 = b();
|
Vec3D vec3D1 = b();
|
||||||
Vec3D vec3D2 = this.c.a(this.a, this.c.f());
|
Vec3D vec3D2 = this.c.a(this.a, this.c.f());
|
||||||
System.out.println(vec3D1 + " " + vec3D2);
|
|
||||||
if (vec3D1.y > vec3D2.y && !this.a.isOnGround() && MathHelper.floor(vec3D1.x) == MathHelper.floor(vec3D2.x)
|
if (vec3D1.y > vec3D2.y && !this.a.isOnGround() && MathHelper.floor(vec3D1.x) == MathHelper.floor(vec3D2.x)
|
||||||
&& MathHelper.floor(vec3D1.z) == MathHelper.floor(vec3D2.z))
|
&& MathHelper.floor(vec3D1.z) == MathHelper.floor(vec3D2.z))
|
||||||
this.c.c(this.c.f() + 1);
|
this.c.c(this.c.f() + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user