Fixed some attribute changes not propagating to the client

This commit is contained in:
Sollace 2020-05-07 13:15:16 +02:00
parent d9b6c3f6e0
commit 53e4e93605

View file

@ -36,7 +36,7 @@ public interface Channel {
T p = factory.apply(buffer);
p.handle(context);
sender.world.getPlayers().forEach(player -> {
if (player != null && player != sender) {
if (player != null) {
redirect.send(player, p);
}
});