mirror of
https://github.com/moparisthebest/xAuth
synced 2024-12-22 07:08:51 -05:00
Merge remote branch 'upstream/master'
This commit is contained in:
commit
28d090fc7c
@ -705,7 +705,7 @@ public class DataManager {
|
||||
connect();
|
||||
|
||||
try {
|
||||
stmt = connection.prepareStatement(
|
||||
prepStmt = connection.prepareStatement(
|
||||
"DELETE FROM `" + xAuthSettings.tblStrike + "`" +
|
||||
" WHERE `host` = ?"
|
||||
);
|
||||
|
@ -54,6 +54,11 @@ public class xAuthPlayerListener extends PlayerListener {
|
||||
|
||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||
final Player player = event.getPlayer();
|
||||
|
||||
//Easyban fix?
|
||||
if (player == null)
|
||||
return;
|
||||
|
||||
xAuthPlayer xPlayer = plugin.getDataManager().getPlayerJoin(player.getName());
|
||||
boolean isRegistered = xPlayer.isRegistered();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: xAuth
|
||||
main: com.cypherx.xauth.xAuth
|
||||
version: 2.0b3
|
||||
version: 2.0b3.5
|
||||
description: Offline-Mode Security Suite
|
||||
author: CypherX
|
||||
commands:
|
||||
|
Loading…
Reference in New Issue
Block a user