mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 15:11:22 +01:00
fix: re-fix the shape parsing issue
(cherry picked from commit d217e4d5b1
)
This commit is contained in:
parent
271e3f4e91
commit
9b794c2077
@ -15,7 +15,7 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
public final class ShapeImpl implements Shape {
|
public final class ShapeImpl implements Shape {
|
||||||
private static final Pattern PATTERN = Pattern.compile("\\d.\\d{1,3}", Pattern.MULTILINE);
|
private static final Pattern PATTERN = Pattern.compile("\\d.\\d+", Pattern.MULTILINE);
|
||||||
private final BoundingBox[] collisionBoundingBoxes;
|
private final BoundingBox[] collisionBoundingBoxes;
|
||||||
private final Point relativeStart, relativeEnd;
|
private final Point relativeStart, relativeEnd;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user