Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
SPIGOT-6061: NPE in CraftBlockTag.getHandle()
Dieser Commit ist enthalten in:
Ursprung
9c9fb593f5
Commit
62761be294
@ -20,6 +20,10 @@ public abstract class CraftTag<N, B extends Keyed> implements Tag<B> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected net.minecraft.server.Tag<N> getHandle() {
|
protected net.minecraft.server.Tag<N> getHandle() {
|
||||||
|
if (handle == null) {
|
||||||
|
handle = registry.b(tag);
|
||||||
|
}
|
||||||
|
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren