Exemplo n.º 1
0
  @Override
  public SpoutClientWorld getWorld(String name, boolean exact) {
    SpoutClientWorld world = activeWorld.get();
    if (world == null) {
      return null;
    }

    if ((exact && world.getName().equals(name)) || world.getName().startsWith(name)) {
      return world;
    } else {
      return null;
    }
  }