mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
wrong message in /blockprops
This commit is contained in:
parent
7a617d88e5
commit
1c530ff79b
@ -271,7 +271,7 @@ namespace MCGalaxy.Commands.World {
|
||||
Player.Message(p, "%H[scope] can be: %Score, global, level");
|
||||
|
||||
Player.Message(p, "%Hproperties: %Sportal, messageblock, rails, waterkills, lavakills, door, tdoor, " +
|
||||
"killer, deathmessage, animalai, stackblock, opblock, odoor, drownable, grass, block");
|
||||
"killer, deathmessage, animalai, stackblock, opblock, odoor, drownable, grass, dirt");
|
||||
Player.Message(p, "%HType %T/Help BlockProps [property] %Hfor more details");
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ namespace MCGalaxy.Commands.Building {
|
||||
Vec3S32 yEnd = m[0] + op.dy * (bmp.Height - 1);
|
||||
if (lvl.IsValidPos(xEnd.X, xEnd.Y, xEnd.Z) && lvl.IsValidPos(yEnd.X, yEnd.Y, yEnd.Z)) return;
|
||||
|
||||
int resizedWidth = bmp.Width - LargestDelta(lvl, xEnd);
|
||||
int resizedWidth = bmp.Width - LargestDelta(lvl, xEnd);
|
||||
int resizedHeight = bmp.Height - LargestDelta(lvl, yEnd);
|
||||
// Preserve aspect ratio of image
|
||||
float ratioX = resizedWidth / (float)bmp.Width, ratioY = resizedHeight / (float)bmp.Height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user