Skip to content

Commit 7ed2631

Browse files
committed
fixed major world change problem
1 parent ae0c6c4 commit 7ed2631

23 files changed

+2
-1
lines changed

src/main/java/net/potato/tuff/TuffX.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,15 @@ public void onPluginMessageReceived(String ch, Player p, byte[] m) {
164164
}
165165

166166
private void hip(Player p, Location l, String a) {
167-
if (!ew.contains(p.getWorld().getName())) {
167+
if (!ew.contains(p.getWorld().getName()) && !a.equalsIgnoreCase("ready")) {
168168
p.sendPluginMessage(this, CH, cby0sp(false));
169169
return;
170170
}
171171

172172
switch (a.toLowerCase()) {
173173
case "ready":
174174
ld("Player " + p.getName() + " is READY.");
175+
aib.add(p.getUniqueId());
175176
if (ew.contains(p.getWorld().getName())) {
176177
aib.add(p.getUniqueId());
177178
p.sendPluginMessage(this, CH, cby0sp(true));

target/TuffX.jar

-235 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-78 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)