@@ -1,25 +1,25 @@
|
||||
From bd3a9ccfa048c4e5f99c2add256cdca7789a5a07 Mon Sep 17 00:00:00 2001
|
||||
From 4663f1e6e86fdf04862f8a470e2bed8b3382d672 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 19:21:58 +1000
|
||||
Subject: [PATCH] Configurable Messages
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PendingConnection.java b/src/main/java/net/minecraft/server/PendingConnection.java
|
||||
index 5e9dad2..9deb9d1 100644
|
||||
index 3be39d7..a30717a 100644
|
||||
--- a/src/main/java/net/minecraft/server/PendingConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PendingConnection.java
|
||||
@@ -82,9 +82,9 @@ public class PendingConnection extends Connection {
|
||||
@@ -79,9 +79,9 @@ public class PendingConnection extends Connection {
|
||||
|
||||
if (packet2handshake.d() != 74) {
|
||||
if (packet2handshake.d() > 74) {
|
||||
- this.disconnect("Outdated server!");
|
||||
+ this.disconnect(org.spigotmc.SpigotConfig.outdatedServerMessage); // Spigot
|
||||
if (packet2handshake.d() != 78) {
|
||||
if (packet2handshake.d() > 78) {
|
||||
- this.disconnect("Outdated server!");
|
||||
+ this.disconnect(org.spigotmc.SpigotConfig.outdatedServerMessage); // Spigot
|
||||
} else {
|
||||
- this.disconnect("Outdated client!");
|
||||
+ this.disconnect(org.spigotmc.SpigotConfig.outdatedClientMessage); // Spigot
|
||||
}
|
||||
} else {
|
||||
- this.disconnect("Outdated client!");
|
||||
+ this.disconnect(org.spigotmc.SpigotConfig.outdatedClientMessage); // Spigot
|
||||
}
|
||||
} else {
|
||||
this.loginKey = this.server.getOnlineMode() ? Long.toString(random.nextLong(), 16) : "-";
|
||||
this.loginKey = this.server.getOnlineMode() ? Long.toString(random.nextLong(), 16) : "-";
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index a85157b..e5a259d 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
|
||||
Reference in New Issue
Block a user