Fix error when giving invalid fogdensity value in lb/gb. (Thanks fam0r)

This commit is contained in:
UnknownShadow200 2017-08-10 20:38:15 +10:00
parent bb8c39dc12
commit 4b216d401e

View File

@ -396,7 +396,7 @@ namespace MCGalaxy.Commands.CPE {
} break;
case "fogdensity":
if (!EditByte(p, value, "Fog density", ref def.FogDensity, "fog")) return;
if (!EditByte(p, value, "Fog density", ref def.FogDensity, "fogdensity")) return;
break;
case "fogcolor":
ColorDesc rgb = default(ColorDesc);