Merge pull request #3095 from LolHens/fix-command-response
fix command response being sent to all players
This commit is contained in:
commit
b4e053eb32
2 changed files with 2 additions and 2 deletions
|
|
@ -1288,7 +1288,7 @@ public class DynmapPlugin
|
||||||
public void sendMessage(String msg)
|
public void sendMessage(String msg)
|
||||||
{
|
{
|
||||||
ITextComponent ichatcomponent = new StringTextComponent(msg);
|
ITextComponent ichatcomponent = new StringTextComponent(msg);
|
||||||
server.getPlayerList().func_232641_a_(ichatcomponent, ChatType.CHAT, player.getUniqueID());
|
player.sendMessage(ichatcomponent, Util.field_240973_b_);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public boolean isInvisible() {
|
public boolean isInvisible() {
|
||||||
|
|
|
||||||
|
|
@ -1298,7 +1298,7 @@ public class DynmapPlugin
|
||||||
public void sendMessage(String msg)
|
public void sendMessage(String msg)
|
||||||
{
|
{
|
||||||
ITextComponent ichatcomponent = new StringTextComponent(msg);
|
ITextComponent ichatcomponent = new StringTextComponent(msg);
|
||||||
server.getPlayerList().func_232641_a_(ichatcomponent, ChatType.CHAT, player.getUniqueID());
|
player.sendMessage(ichatcomponent, Util.field_240973_b_);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public boolean isInvisible() {
|
public boolean isInvisible() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue