Added username to fake player.

This commit is contained in:
CovertJaguar 2012-11-07 20:27:51 -08:00
parent 943340a9e6
commit 7693107e0a

View file

@ -144,7 +144,7 @@ public class CoreProxyClient extends CoreProxy {
}
private EntityPlayer createNewPlayer(World world) {
return new EntityPlayer(world) {
EntityPlayer player = new EntityPlayer(world) {
@Override public void sendChatToPlayer(String var1) {}
@Override
public boolean canCommandSenderUseCommand(int var1, String var2) {
@ -155,6 +155,8 @@ public class CoreProxyClient extends CoreProxy {
return null;
}
};
player.username = "[BuildCraft]";
return player;
}
@Override