mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
lb/gb info should show tint color if the block is tinted. (Thanks worldshowoff)
This commit is contained in:
parent
d972ef9dae
commit
ccd9c33d98
@ -146,6 +146,11 @@ namespace MCGalaxy.Commands.CPE {
|
||||
def.FogDensity, Utils.Hex(def.FogR, def.FogG, def.FogB));
|
||||
}
|
||||
|
||||
bool tinted = (def.FogR != 0 || def.FogG != 0 || def.FogB != 0) && def.Name.IndexOf('#') >= 0;
|
||||
if (tinted) {
|
||||
Player.Message(p, " Tint color: {0}", Utils.Hex(def.FogR, def.FogG, def.FogB));
|
||||
}
|
||||
|
||||
if (def.Shape == 0) {
|
||||
Player.Message(p, " Block is a sprite");
|
||||
Player.Message(p, " Texture ID: {0}", def.SideTex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user