mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-27 10:31:34 +01:00
forgot to add stuff to the other NMS files
This commit is contained in:
parent
bef61f7231
commit
6da54c7250
@ -18,7 +18,9 @@ public class v1_7_R1 implements NMS {
|
||||
|
||||
@Override
|
||||
public void sendActionBarMessage(String rawMessage, Player player) {
|
||||
|
||||
IChatBaseComponent comp = ChatSerializer.a(" " + rawMessage);
|
||||
PacketPlayOutChat packet = new PacketPlayOutChat(comp, true);
|
||||
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,6 +19,8 @@ public class v1_7_R2 implements NMS {
|
||||
|
||||
@Override
|
||||
public void sendActionBarMessage(String rawMessage, Player player) {
|
||||
|
||||
IChatBaseComponent comp = ChatSerializer.a(" " + rawMessage);
|
||||
PacketPlayOutChat packet = new PacketPlayOutChat(comp, true);
|
||||
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,9 @@ public class v1_7_R3 implements NMS {
|
||||
|
||||
@Override
|
||||
public void sendActionBarMessage(String rawMessage, Player player) {
|
||||
|
||||
IChatBaseComponent comp = ChatSerializer.a(" " + rawMessage);
|
||||
PacketPlayOutChat packet = new PacketPlayOutChat(comp, true);
|
||||
((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user