mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Add missing imports :/
This commit is contained in:
@@ -328,10 +328,30 @@ index dee00aac05f1acf050f05d4db557a08dd0f301c8..52c0ab1ce46e1f3233ef746d9bc69935
|
||||
metrics.addCustomChart(new Metrics.DrilldownPie("java_version", () -> {
|
||||
Map<String, Map<String, Integer>> map = new HashMap<>();
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperCommand.java b/src/main/java/com/destroystokyo/paper/PaperCommand.java
|
||||
index 2f2701b9f0aa1a26a3e3eb7a14eac370f509ce1e..baa0ac754689ab67bf470b86bfb9c209e47c7eee 100644
|
||||
index 2f2701b9f0aa1a26a3e3eb7a14eac370f509ce1e..e5bd82016ace4d51608fca78ec771fec96bbce90 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperCommand.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperCommand.java
|
||||
@@ -219,6 +219,44 @@ public class PaperCommand extends Command {
|
||||
@@ -15,9 +15,11 @@ import net.minecraft.server.BlockPosition;
|
||||
import net.minecraft.server.Chunk;
|
||||
import net.minecraft.server.ChunkCoordIntPair;
|
||||
import net.minecraft.server.ChunkProviderServer;
|
||||
+import net.minecraft.server.ChunkStatus;
|
||||
import net.minecraft.server.Entity;
|
||||
import net.minecraft.server.EntityPlayer;
|
||||
import net.minecraft.server.EntityTypes;
|
||||
+import net.minecraft.server.IChunkAccess;
|
||||
import net.minecraft.server.LightEngineThreaded;
|
||||
import net.minecraft.server.MCUtil;
|
||||
import net.minecraft.server.MinecraftKey;
|
||||
@@ -54,6 +56,7 @@ import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Deque;
|
||||
import java.util.Iterator;
|
||||
+import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
@@ -219,6 +222,44 @@ public class PaperCommand extends Command {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -376,7 +396,7 @@ index 2f2701b9f0aa1a26a3e3eb7a14eac370f509ce1e..baa0ac754689ab67bf470b86bfb9c209
|
||||
private void doFixLight(CommandSender sender, String[] args) {
|
||||
if (!(sender instanceof Player)) {
|
||||
sender.sendMessage("Only players can use this command");
|
||||
@@ -227,7 +265,7 @@ public class PaperCommand extends Command {
|
||||
@@ -227,7 +268,7 @@ public class PaperCommand extends Command {
|
||||
int radius = 2;
|
||||
if (args.length > 1) {
|
||||
try {
|
||||
@@ -385,7 +405,7 @@ index 2f2701b9f0aa1a26a3e3eb7a14eac370f509ce1e..baa0ac754689ab67bf470b86bfb9c209
|
||||
} catch (Exception e) {
|
||||
sender.sendMessage("Not a number");
|
||||
return;
|
||||
@@ -240,6 +278,13 @@ public class PaperCommand extends Command {
|
||||
@@ -240,6 +281,13 @@ public class PaperCommand extends Command {
|
||||
net.minecraft.server.WorldServer world = (WorldServer) handle.world;
|
||||
LightEngineThreaded lightengine = world.getChunkProvider().getLightEngine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user