mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 20:16:36 -04:00
Killing someone with gun/missile should only show that message to the current level, not the whole server.
This commit is contained in:
parent
6e10b22bbb
commit
f169240c3a
@ -32,8 +32,9 @@ namespace MCGalaxy.Commands.Building {
|
|||||||
public override bool museumUsable { get { return false; } }
|
public override bool museumUsable { get { return false; } }
|
||||||
public override LevelPermission defaultRank { get { return LevelPermission.Admin; } }
|
public override LevelPermission defaultRank { get { return LevelPermission.Admin; } }
|
||||||
public override CommandAlias[] Aliases {
|
public override CommandAlias[] Aliases {
|
||||||
get { return new[] { new CommandAlias("imgprint"), new CommandAlias("printimg"),
|
get { return new[] { new CommandAlias("imgprint"), new CommandAlias("printimg"),
|
||||||
new CommandAlias("imgdraw"), new CommandAlias("drawimg") }; }
|
new CommandAlias("imgdraw"), new CommandAlias("drawimg"),
|
||||||
|
new CommandAlias("drawimage"), new CommandAlias("printimage") }; }
|
||||||
}
|
}
|
||||||
public CmdImageprint() { }
|
public CmdImageprint() { }
|
||||||
|
|
||||||
|
@ -404,8 +404,12 @@ return;
|
|||||||
if (b == Block.rockethead) level.MakeExplosion(x, y, z, 0);
|
if (b == Block.rockethead) level.MakeExplosion(x, y, z, 0);
|
||||||
if (b == Block.creeper) level.MakeExplosion(x, y, z, 1);
|
if (b == Block.creeper) level.MakeExplosion(x, y, z, 1);
|
||||||
if (b == Block.rock || b == Block.stone) {
|
if (b == Block.rock || b == Block.stone) {
|
||||||
if (explode) level.MakeExplosion(x, y, z, 1);
|
if (explode) level.MakeExplosion(x, y, z, 1);
|
||||||
SendChatFrom(this, ColoredName + "%S" + customMessage, false);
|
if (b == Block.rock) {
|
||||||
|
SendChatFrom(this, ColoredName + "%S" + customMessage, false);
|
||||||
|
} else {
|
||||||
|
Chat.GlobalChatLevel(this, ColoredName + "%S" + customMessage, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( Game.team != null && this.level.ctfmode ) {
|
if ( Game.team != null && this.level.ctfmode ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user