Ask and 70.93 seconds later you shall receive - cross server message channel.
This commit is contained in:
parent
7e39cb8da6
commit
f1f68ab85b
@ -212,7 +212,7 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Synchronized( "permMutex")
|
@Synchronized("permMutex")
|
||||||
public void removeGroups(String... groups)
|
public void removeGroups(String... groups)
|
||||||
{
|
{
|
||||||
for (String group : groups)
|
for (String group : groups)
|
||||||
@ -234,7 +234,7 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Synchronized( "permMutex")
|
@Synchronized("permMutex")
|
||||||
public void setPermission(String permission, boolean value)
|
public void setPermission(String permission, boolean value)
|
||||||
{
|
{
|
||||||
permissions.put(permission, value);
|
permissions.put(permission, value);
|
||||||
@ -481,6 +481,14 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
|
|
||||||
getServer().sendData("BungeeCord", b.toByteArray());
|
getServer().sendData("BungeeCord", b.toByteArray());
|
||||||
}
|
}
|
||||||
|
if (subChannel.equals("Message"))
|
||||||
|
{
|
||||||
|
ProxiedPlayer target = ProxyServer.getInstance().getPlayer(in.readUTF());
|
||||||
|
if (target != null)
|
||||||
|
{
|
||||||
|
target.sendMessage(in.readUTF());
|
||||||
|
}
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user