This commit is contained in:
gnembon committed 2020-05-31 03:18:40 -03:00
1 parent 1c46393c4d
commit 0b22359f8c
7 files changed
+27 -21

No files matched your search

@@ -2710,7 +2710,7 @@ public class CarpetExpression
}
ShapeDispatcher.sendShape(
(player==null)?cc.s.getWorld().getPlayers():Collections.singletonList(player),
cc.s.getWorld().getDimension().getType(),
cc.s.getWorld().method_27983(),
new ShapeDispatcher.Box(duration, from.vec, to.vec, color)
);
return LazyValue.TRUE;
@@ -2756,7 +2756,7 @@ public class CarpetExpression
}
ShapeDispatcher.sendShape(
(player==null)?cc.s.getWorld().getPlayers():Collections.singletonList(player),
cc.s.getWorld().getDimension().getType(),
cc.s.getWorld().method_27983(),
new ShapeDispatcher.Line(duration, from.vec, to.vec, color)
);
return LazyValue.TRUE;