Skip to content

Commit

Permalink
fix spawner_display_entity
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 22, 2023
1 parent 2ace838 commit 6f11666
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -1276,7 +1276,9 @@ public static void register() {
if (!(object.getBlockStateForTag(attribute) instanceof CreatureSpawner)) {
return null;
}
return NMSHandler.entityHelper.getMobSpawnerDisplayEntity(((CreatureSpawner) object.getBlockStateForTag(attribute))).describe(attribute.context);
EntityTag fakeEnt = NMSHandler.entityHelper.getMobSpawnerDisplayEntity(((CreatureSpawner) object.getBlockStateForTag(attribute)));
fakeEnt.isFake = true;
return fakeEnt.describe(attribute.context);
});

// <--[tag]
Expand Down

0 comments on commit 6f11666

Please sign in to comment.