Skip to content

Commit f707c27

Browse files
committed
real
1 parent 22526a5 commit f707c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/nxyi/addon/mixin/EntityMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@Mixin(Entity.class)
1313
public abstract class EntityMixin {
1414
@Redirect(method = "adjustMovementForCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Box;Lnet/minecraft/world/World;Ljava/util/List;)Lnet/minecraft/util/math/Vec3d;", at = @At(value = "INVOKE", target = "net/minecraft/world/border/WorldBorder.canCollide(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Z"))
15-
private static boolean coffee_preventCollision(WorldBorder instance, Entity entity, Box box) {
15+
private static boolean Collision(WorldBorder instance, Entity entity, Box box) {
1616
return !Modules.get().get(AntiBorder.class).isActive() && instance.canCollide(entity, box);
1717
}
1818
}

0 commit comments

Comments
 (0)