Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Print legacy load reason in debug mode
Dieser Commit ist enthalten in:
Ursprung
df371c1b69
Commit
512ff7a52f
@ -23,6 +23,7 @@ import net.minecraft.server.IRegistry;
|
|||||||
import net.minecraft.server.Item;
|
import net.minecraft.server.Item;
|
||||||
import net.minecraft.server.Items;
|
import net.minecraft.server.Items;
|
||||||
import net.minecraft.server.MinecraftKey;
|
import net.minecraft.server.MinecraftKey;
|
||||||
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.server.NBTBase;
|
import net.minecraft.server.NBTBase;
|
||||||
import net.minecraft.server.NBTTagCompound;
|
import net.minecraft.server.NBTTagCompound;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -254,6 +255,9 @@ public final class CraftLegacy {
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
System.err.println("Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!");
|
System.err.println("Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!");
|
||||||
|
if (MinecraftServer.getServer() != null && MinecraftServer.getServer().isDebugging()) {
|
||||||
|
new Exception().printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
SPAWN_EGGS.put((byte) 0, Material.PIG_SPAWN_EGG); // Will be fixed by updateMaterial if possible
|
SPAWN_EGGS.put((byte) 0, Material.PIG_SPAWN_EGG); // Will be fixed by updateMaterial if possible
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren