commands, camera, messages, overlay, ..
This commit is contained in:
parent
75f91dbf4c
commit
d45cd7ec2c
126 changed files with 854 additions and 628 deletions
|
@ -8,7 +8,7 @@ import game.collect.Sets;
|
|||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.EntityRegistry;
|
||||
import game.network.NetHandlerPlayServer;
|
||||
import game.network.Player;
|
||||
import game.world.WorldServer;
|
||||
|
||||
public class EntityListParser extends EntityParser {
|
||||
|
@ -36,7 +36,7 @@ public class EntityListParser extends EntityParser {
|
|||
}
|
||||
else if(input.equals("*")) {
|
||||
List<Entity> list = Lists.newArrayList();
|
||||
for(NetHandlerPlayServer plr : env.getServer().getPlayers()) {
|
||||
for(Player plr : env.getServer().getPlayers()) {
|
||||
if(plr.getEntity() != null)
|
||||
list.add(plr.getEntity());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue