Archiviert
13
0

Fix an NPE reported in ticket-38.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-02-09 13:19:36 +01:00
Ursprung bc1955bff3
Commit dd3cd6c768

Datei anzeigen

@ -427,7 +427,7 @@ public class SpigotPacketInjector implements SpigotPacketListener {
void uninjectPlayer(Player player) { void uninjectPlayer(Player player) {
final NetworkObjectInjector injector = getInjector(player); final NetworkObjectInjector injector = getInjector(player);
if (player != null) { if (player != null && injector != null) {
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() { Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
@Override @Override
public void run() { public void run() {