Consistent spacing

This commit is contained in:
Draycia committed 2021-05-11 23:08:13 -07:00
1 parent dcfbb5655b
commit ab23703b4a
13 files changed
+20

No files matched your search

@@ -7,6 +7,7 @@ import org.checkerframework.checker.nullness.qual.NonNull;
import org.spongepowered.api.command.CommandCause;
public interface SpongeCommander extends Commander, ForwardingAudience.Single {
@NonNull CommandCause commandCause();
static @NonNull SpongeCommander from(final @NonNull CommandCause commandCause) {
@@ -30,4 +31,5 @@ public interface SpongeCommander extends Commander, ForwardingAudience.Single {
return this.commandCause.audience();
}
}
}
@@ -11,6 +11,7 @@ import org.spongepowered.api.entity.living.player.server.ServerPlayer;
import static java.util.Objects.requireNonNull;
public final class SpongePlayerCommander implements PlayerCommander, SpongeCommander {
private final CarbonChat carbon;
private final ServerPlayer player;
private final CommandCause commandCause;
@@ -39,4 +40,5 @@ public final class SpongePlayerCommander implements PlayerCommander, SpongeComma
public @NonNull Audience audience() {
return this.commandCause.audience();
}
}
@@ -8,6 +8,7 @@ public class SpongeChatListener {
@Listener
public void onPlayerChat(final @NonNull PlayerChatEvent event) {
}
}