mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
#556: Allow sending messages from specific UUIDs
By: Mariell Hoversholm <proximyst@proximyst.com>
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package org.bukkit.conversations;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.permissions.Permission;
|
||||
import org.bukkit.permissions.PermissionAttachment;
|
||||
import org.bukkit.permissions.PermissionAttachmentInfo;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
*/
|
||||
@@ -48,6 +51,11 @@ public class FakeConversable implements Conversable {
|
||||
lastSentMessage = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sendRawMessage(@Nullable UUID sender, @NotNull String message) {
|
||||
this.sendRawMessage(message);
|
||||
}
|
||||
|
||||
public Server getServer() {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user