diff options
author | lucko (Luck) <git@lucko.me> | 2020-12-31 00:11:51 +0000 |
---|---|---|
committer | lucko (Luck) <git@lucko.me> | 2020-12-31 00:11:51 +0000 |
commit | 28cf46ec3e09e5e4b4a57c5eacb84787989020ce (patch) | |
tree | 316c451f9d7f45fe9af8227f5a19cdcae52ab238 /spark-sponge/src/main/java/me/lucko/spark | |
parent | 737c09973ab6a45cbaa5bdbad24632b0fb23ce07 (diff) | |
download | spark-28cf46ec3e09e5e4b4a57c5eacb84787989020ce.tar.gz spark-28cf46ec3e09e5e4b4a57c5eacb84787989020ce.tar.bz2 spark-28cf46ec3e09e5e4b4a57c5eacb84787989020ce.zip |
Fix some deprecation warnings
Diffstat (limited to 'spark-sponge/src/main/java/me/lucko/spark')
-rw-r--r-- | spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java index 5f9a3ef..055f1f4 100644 --- a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java +++ b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeSparkPlugin.java @@ -113,7 +113,7 @@ public class SpongeSparkPlugin implements SparkPlugin { return Stream.concat( this.game.getServer().getOnlinePlayers().stream().filter(player -> player.hasPermission(permission)), Stream.of(this.game.getServer().getConsole()) - ).map((CommandSource source) -> new SpongeCommandSender(source, this.audienceFactory)); + ).map(source -> new SpongeCommandSender(source, this.audienceFactory)); } @Override |