mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-25 10:09:14 +00:00
V+
This commit is contained in:
@@ -142,6 +142,12 @@ public class IrisEntity extends IrisRegistrant {
|
||||
|
||||
public Entity spawn(Engine gen, Location at, RNG rng) {
|
||||
Entity e = doSpawn(at);
|
||||
|
||||
if(e == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
e.setCustomName(getCustomName() != null ? C.translateAlternateColorCodes('&', getCustomName()) : null);
|
||||
e.setCustomNameVisible(isCustomNameVisible());
|
||||
e.setGlowing(isGlowing());
|
||||
|
||||
Reference in New Issue
Block a user