Skip to content

Commit 07b80eb

Browse files
committed
fixes encoding
1 parent 8dc001a commit 07b80eb

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/de/ntcomputer/minecraft/controllablemobs/implementation/nativeinterfaces/server

1 file changed

+3
-3
lines changed

src/main/java/de/ntcomputer/minecraft/controllablemobs/implementation/nativeinterfaces/server/NmsEntity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class NmsEntity {
1111
public class GetEntityDistanceSquared extends NativeMethodPublic {
1212
public double invoke(final Entity entity, final Entity target) {
1313
try {
14-
// method returns difLocX² + difLocY² + difLocZ² for entity
14+
// method returns difLocX² + difLocY² + difLocZ² for entity
1515
return entity.e(target);
1616
} catch(Throwable e) {
1717
this.handleException(e);
@@ -23,7 +23,7 @@ public double invoke(final Entity entity, final Entity target) {
2323
public class GetLocationDistance extends NativeMethodPublic {
2424
public double invoke(final Entity entity, final double x, final double y, final double z) {
2525
try {
26-
// method returns Math.sqrt( difLocX² + difLocY² + difLocZ² ) for double values
26+
// method returns Math.sqrt( difLocX² + difLocY² + difLocZ² ) for double values
2727
return entity.f(x, y, z);
2828
} catch(Throwable e) {
2929
this.handleException(e);
@@ -35,7 +35,7 @@ public double invoke(final Entity entity, final double x, final double y, final
3535
public class GetLocationDistanceSquared extends NativeMethodPublic {
3636
public double invoke(final Entity entity, final double x, final double y, final double z) {
3737
try {
38-
// method returns difLocX² + difLocY² + difLocZ² for double values
38+
// method returns difLocX² + difLocY² + difLocZ² for double values
3939
return entity.e(x, y, z);
4040
} catch(Throwable e) {
4141
this.handleException(e);

0 commit comments

Comments
 (0)