Swap some nullable annotations (#9696)

This commit is contained in:
Lulu13022002 2023-09-14 12:44:12 +02:00 committed by GitHub
parent 1c15111f08
commit eea0c649ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 186 additions and 72 deletions

View file

@ -6,7 +6,7 @@ Subject: [PATCH] Add PlayerSignCommandPreprocessEvent
diff --git a/src/main/java/io/papermc/paper/event/player/PlayerSignCommandPreprocessEvent.java b/src/main/java/io/papermc/paper/event/player/PlayerSignCommandPreprocessEvent.java
new file mode 100644
index 0000000000000000000000000000000000000000..6e539aee02fd5399e6b8f064a3ea368c12a54a53
index 0000000000000000000000000000000000000000..dc774403749633a1bf8e8088b8c7b402b0e43863
--- /dev/null
+++ b/src/main/java/io/papermc/paper/event/player/PlayerSignCommandPreprocessEvent.java
@@ -0,0 +1,47 @@
@ -33,7 +33,7 @@ index 0000000000000000000000000000000000000000..6e539aee02fd5399e6b8f064a3ea368c
+ private final Side side;
+
+ @ApiStatus.Internal
+ public PlayerSignCommandPreprocessEvent(@NotNull Player player, @NotNull String message, @NotNull Set<Player> recipients, @NotNull Sign sign, final Side side) {
+ public PlayerSignCommandPreprocessEvent(@NotNull Player player, @NotNull String message, @NotNull Set<Player> recipients, @NotNull Sign sign, @NotNull Side side) {
+ super(player, message, recipients);
+ this.sign = sign;
+ this.side = side;