mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
Fix #313
This commit is contained in:
@@ -74,7 +74,7 @@ public class ArchitecturySpawnEggItem extends SpawnEggItem {
|
||||
this.entityType = Objects.requireNonNull(entityType, "entityType");
|
||||
SpawnEggItem.BY_ID.remove(null);
|
||||
entityType.listen(type -> {
|
||||
LOGGER.debug("Registering spawn egg {} for {}", Objects.toString(this.arch$registryName()),
|
||||
LOGGER.debug("Registering spawn egg {} for {}", toString(),
|
||||
Objects.toString(type.arch$registryName()));
|
||||
SpawnEggItem.BY_ID.put(type, this);
|
||||
this.defaultType = type;
|
||||
|
||||
Reference in New Issue
Block a user