fixed command response being sent to all players

This commit is contained in:
Pierre Kisters 2020-08-16 14:49:21 +02:00
parent 123d005adf
commit b3f8a0d0d5
2 changed files with 2 additions and 2 deletions

View File

@ -1288,7 +1288,7 @@ public class DynmapPlugin
public void sendMessage(String msg)
{
ITextComponent ichatcomponent = new StringTextComponent(msg);
server.getPlayerList().func_232641_a_(ichatcomponent, ChatType.CHAT, player.getUniqueID());
player.sendMessage(ichatcomponent, Util.field_240973_b_);
}
@Override
public boolean isInvisible() {

View File

@ -1298,7 +1298,7 @@ public class DynmapPlugin
public void sendMessage(String msg)
{
ITextComponent ichatcomponent = new StringTextComponent(msg);
server.getPlayerList().func_232641_a_(ichatcomponent, ChatType.CHAT, player.getUniqueID());
player.sendMessage(ichatcomponent, Util.field_240973_b_);
}
@Override
public boolean isInvisible() {