immense iq

This commit is contained in:
Leijurv 2018-11-13 19:54:19 -08:00
parent 3ccb0c74c6
commit a0dd43244c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 6 additions and 7 deletions

View File

@ -20,7 +20,7 @@ package baritone.api;
import baritone.api.cache.IWorldScanner;
import net.minecraft.client.entity.EntityPlayerSP;
import java.util.List;
import java.util.Set;
/**
* @author Leijurv
@ -40,11 +40,10 @@ public interface IBaritoneProvider {
* Returns all of the active {@link IBaritone} instances. This includes the local one
* returned by {@link #getPrimaryBaritone()}.
*
* @see #getBaritoneForPlayer(EntityPlayerSP)
*
* @return All active {@link IBaritone} instances.
* @see #getBaritoneForPlayer(EntityPlayerSP)
*/
List<IBaritone> getAllBaritones();
Set<IBaritone> getAllBaritones();
/**
* Provides the {@link IBaritone} instance for a given {@link EntityPlayerSP}. This will likely be

View File

@ -24,7 +24,7 @@ import baritone.cache.WorldScanner;
import net.minecraft.client.entity.EntityPlayerSP;
import java.util.Collections;
import java.util.List;
import java.util.Set;
/**
* @author Brady
@ -38,8 +38,8 @@ public final class BaritoneProvider implements IBaritoneProvider {
}
@Override
public List<IBaritone> getAllBaritones() {
return Collections.singletonList(Baritone.INSTANCE);
public Set<IBaritone> getAllBaritones() {
return Collections.singleton(Baritone.INSTANCE);
}
@Override