mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
By: Erik Broes <erikbroes@ripe.net>
This commit is contained in:
parent
5b605fdc4f
commit
870ee0b0ec
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
}
|
||||
|
||||
public boolean isOnline() {
|
||||
for (EntityPlayerMP player : server.getHandle().b) {
|
||||
for (Object obj: server.getHandle().b) {
|
||||
EntityPlayerMP player = (EntityPlayerMP) obj;
|
||||
if (player.aw.equalsIgnoreCase(getName())) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package org.bukkit.craftbukkit;
|
||||
|
||||
import org.bukkit.Entity;
|
||||
import org.bukkit.Vector;
|
||||
import org.bukkit.Vehicle;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue