geforkt von Mirrors/FastAsyncWorldEdit
Fix indentation
Dieser Commit ist enthalten in:
Ursprung
e25e1bfe67
Commit
c47f50696d
@ -605,10 +605,10 @@ public class LocalSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void handleCUIInitializationMessage(String text) {
|
public void handleCUIInitializationMessage(String text) {
|
||||||
if(!hasCUISupport()) {
|
if(!hasCUISupport()) {
|
||||||
setCUISupport(true);
|
setCUISupport(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] split = text.split("\\|");
|
String[] split = text.split("\\|");
|
||||||
if (split.length > 1 && split[0].equalsIgnoreCase("v")) { // enough fields and right message
|
if (split.length > 1 && split[0].equalsIgnoreCase("v")) { // enough fields and right message
|
||||||
try {
|
try {
|
||||||
|
@ -183,7 +183,7 @@ public class ConvexPolyhedralRegionSelector implements RegionSelector, CUIRegion
|
|||||||
public void describeCUI(LocalSession session, LocalPlayer player) {
|
public void describeCUI(LocalSession session, LocalPlayer player) {
|
||||||
Collection<Vector> vertices = region.getVertices();
|
Collection<Vector> vertices = region.getVertices();
|
||||||
Collection<Triangle> triangles = region.getTriangles();
|
Collection<Triangle> triangles = region.getTriangles();
|
||||||
|
|
||||||
Map<Vector, Integer> vertexIds = new HashMap<Vector, Integer>(vertices.size());
|
Map<Vector, Integer> vertexIds = new HashMap<Vector, Integer>(vertices.size());
|
||||||
int lastVertexId = -1;
|
int lastVertexId = -1;
|
||||||
for (Vector vertex : vertices) {
|
for (Vector vertex : vertices) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren