mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
I really hate annotations...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From ec162d14f8c9a6210b1b0702fb06afbd3e84ed9a Mon Sep 17 00:00:00 2001
|
||||
From d61ca685a5582c32b1db00d43cbedc2639b1a0db Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Fri, 12 Jul 2019 02:09:58 -0500
|
||||
Subject: [PATCH] Implement ChunkTooLargeEvent
|
||||
@@ -10,7 +10,7 @@ Subject: [PATCH] Implement ChunkTooLargeEvent
|
||||
|
||||
diff --git a/src/main/java/net/pl3x/purpur/event/ChunkTooLargeEvent.java b/src/main/java/net/pl3x/purpur/event/ChunkTooLargeEvent.java
|
||||
new file mode 100644
|
||||
index 000000000..8f2077e21
|
||||
index 000000000..271d5b9d1
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/net/pl3x/purpur/event/ChunkTooLargeEvent.java
|
||||
@@ -0,0 +1,108 @@
|
||||
@@ -36,7 +36,7 @@ index 000000000..8f2077e21
|
||||
+ private final boolean saving;
|
||||
+ private final boolean overzealous;
|
||||
+
|
||||
+ public ChunkTooLargeEvent(String worldName, int chunkX, int chunkZ, boolean saving, boolean overzealous) {
|
||||
+ public ChunkTooLargeEvent(@NotNull String worldName, int chunkX, int chunkZ, boolean saving, boolean overzealous) {
|
||||
+ this.worldName = worldName;
|
||||
+ this.world = Bukkit.getWorld(worldName);
|
||||
+ this.chunkX = chunkX;
|
||||
|
||||
Reference in New Issue
Block a user