|
36 | 36 | import com.viaversion.viaversion.api.protocol.packet.PacketWrapper; |
37 | 37 | import com.viaversion.viaversion.api.type.Types; |
38 | 38 | import com.viaversion.viaversion.configuration.AbstractViaConfig; |
39 | | -import com.viaversion.viaversion.libs.gson.JsonObject; |
40 | 39 | import com.viaversion.viaversion.protocols.base.InitialBaseProtocol; |
41 | 40 | import com.viaversion.viaversion.util.VersionInfo; |
42 | 41 | import org.slf4j.LoggerFactory; |
@@ -110,20 +109,6 @@ public ViaCommandSender[] getOnlinePlayers() { |
110 | 109 | return Via.getManager().getConnectionManager().getConnectedClients().values().stream().map(UserCommandSender::new).toArray(ViaCommandSender[]::new); |
111 | 110 | } |
112 | 111 |
|
113 | | - @Override |
114 | | - public void sendMessage(UUID uuid, String msg) { |
115 | | - if (uuid == null) { |
116 | | - this.getLogger().info(msg); |
117 | | - } else { |
118 | | - this.getLogger().info("[" + uuid + "] " + msg); |
119 | | - } |
120 | | - } |
121 | | - |
122 | | - @Override |
123 | | - public boolean kickPlayer(UUID uuid, String s) { |
124 | | - return false; |
125 | | - } |
126 | | - |
127 | 112 | @Override |
128 | 113 | public void sendCustomPayload(UUID uuid, String channel, String message) { |
129 | 114 | UserConnection connection = Via.getManager().getConnectionManager().getConnectedClient(uuid); |
@@ -171,15 +156,6 @@ public File getDataFolder() { |
171 | 156 | return this.dataFolder; |
172 | 157 | } |
173 | 158 |
|
174 | | - @Override |
175 | | - public void onReload() { |
176 | | - } |
177 | | - |
178 | | - @Override |
179 | | - public JsonObject getDump() { |
180 | | - return new JsonObject(); |
181 | | - } |
182 | | - |
183 | 159 | protected AbstractViaConfig createConfig() { |
184 | 160 | return new VLViaConfig(new File(this.dataFolder, "viaversion.yml"), this.getLogger()); |
185 | 161 | } |
|
0 commit comments