We don't need the connection handler from the user

This commit is contained in:
Brady
2018-10-23 00:46:31 -05:00
parent 8e75817e29
commit 29cf79fe17

View File

@@ -17,8 +17,8 @@
package baritone.bot;
import baritone.bot.net.BotNetHandlerPlayClient;
import net.minecraft.client.entity.EntityOtherPlayerMP;
import net.minecraft.network.NetworkManager;
import net.minecraft.world.World;
import javax.annotation.Nullable;
@@ -30,9 +30,9 @@ import javax.annotation.Nullable;
public interface IBaritoneUser {
/**
* @return The current connection handler.
* @return The network manager that is responsible for the current connection.
*/
@Nullable BotNetHandlerPlayClient getConnection();
@Nullable NetworkManager getNetworkManager();
/**
* @return The locally managed entity for this bot.