parent
98ee2ce771
commit
9caf4c54ed
1 changed files with 5 additions and 0 deletions
|
@ -222,6 +222,11 @@ public abstract class DiscordConnectedPlayer extends DiscordSenderBase implement
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GameMode getGameMode() {
|
||||||
|
return GameMode.SPECTATOR;
|
||||||
|
}
|
||||||
|
|
||||||
public static DiscordConnectedPlayer create(User user, MessageChannel channel, UUID uuid, String mcname,
|
public static DiscordConnectedPlayer create(User user, MessageChannel channel, UUID uuid, String mcname,
|
||||||
MinecraftChatModule module) {
|
MinecraftChatModule module) {
|
||||||
return Mockito.mock(DiscordConnectedPlayer.class,
|
return Mockito.mock(DiscordConnectedPlayer.class,
|
||||||
|
|
Loading…
Reference in a new issue