Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Shortened output message for //smooth.
Dieser Commit ist enthalten in:
Ursprung
d6151dee51
Commit
d5f5024127
@ -166,7 +166,7 @@ public class WorldEditListener extends PluginListener {
|
|||||||
commands.put("/butcher", "<Radius> - Kill nearby mobs");
|
commands.put("/butcher", "<Radius> - Kill nearby mobs");
|
||||||
commands.put("//use", "[SnapshotID] - Use a particular snapshot");
|
commands.put("//use", "[SnapshotID] - Use a particular snapshot");
|
||||||
commands.put("//restore", "<SnapshotID> - Restore a particular snapshot");
|
commands.put("//restore", "<SnapshotID> - Restore a particular snapshot");
|
||||||
commands.put("//smooth", "<Iterations> <Sigma> - Smooth an area's heightmap");
|
commands.put("//smooth", "<Iterations> - Smooth an area's heightmap");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -950,7 +950,7 @@ public class WorldEditListener extends PluginListener {
|
|||||||
HeightMap heightMap = new HeightMap(editSession, session.getRegion());
|
HeightMap heightMap = new HeightMap(editSession, session.getRegion());
|
||||||
HeightMapFilter filter = new HeightMapFilter(new GaussianKernel(5, 1.0));
|
HeightMapFilter filter = new HeightMapFilter(new GaussianKernel(5, 1.0));
|
||||||
int affected = heightMap.applyFilter(filter, iterations);
|
int affected = heightMap.applyFilter(filter, iterations);
|
||||||
player.print("Terrain's heightmap has been smoothed. " + affected + " block(s) have been changed.");
|
player.print("Terrain's height map smoothed. " + affected + " block(s) changed.");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren