Fixed protocol violation (again?)
This commit is contained in:
@@ -19,7 +19,7 @@ import com.redstoner.misc.Main;
|
|||||||
import com.redstoner.modules.Module;
|
import com.redstoner.modules.Module;
|
||||||
|
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 4, minor = 0, revision = 0, compatible = 4)
|
@Version(major = 4, minor = 0, revision = 1, compatible = 4)
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public class OnlinePlayers implements Module, Listener
|
public class OnlinePlayers implements Module, Listener
|
||||||
{
|
{
|
||||||
@@ -61,7 +61,7 @@ public class OnlinePlayers implements Module, Listener
|
|||||||
{
|
{
|
||||||
JSONObject jsonPlayer = new JSONObject();
|
JSONObject jsonPlayer = new JSONObject();
|
||||||
jsonPlayer.put("name", player.getName());
|
jsonPlayer.put("name", player.getName());
|
||||||
jsonPlayer.put("uuid", player.getUniqueId().toString());
|
jsonPlayer.put("UUID", player.getUniqueId().toString());
|
||||||
jsonPlayer.put("joined", System.currentTimeMillis());
|
jsonPlayer.put("joined", System.currentTimeMillis());
|
||||||
players.add(jsonPlayer);
|
players.add(jsonPlayer);
|
||||||
save();
|
save();
|
||||||
|
|||||||
Reference in New Issue
Block a user