mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-29 12:37:37 +01:00
Add sendPacketNearby back for Sentry compatibility
This commit is contained in:
parent
8dd2a9b8d4
commit
330565340a
@ -246,6 +246,10 @@ public class NMS {
|
||||
public static void sendPacketsNearby(Location location, Packet... packets) {
|
||||
NMS.sendPacketsNearby(location, Arrays.asList(packets), 64);
|
||||
}
|
||||
|
||||
public static void sendPacketNearby(Location location, Packet packet) {
|
||||
NMS.sendPacketsNearby(location, Arrays.asList(packet), 64);
|
||||
}
|
||||
|
||||
public static void sendToOnline(Packet... packets) {
|
||||
Validate.notNull(packets, "packets cannot be null");
|
||||
|
Loading…
Reference in New Issue
Block a user