geforkt von Mirrors/Paper
SPIGOT-7567: SpawnReason for SNOWMAN is reported as BUILD_IRONGOLEM
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
eb6041d8f8
Commit
48a803d3ec
@ -20,7 +20,7 @@
|
||||
entity.moveTo((double) blockposition.getX() + 0.5D, (double) blockposition.getY() + 0.05D, (double) blockposition.getZ() + 0.5D, 0.0F, 0.0F);
|
||||
- world.addFreshEntity(entity);
|
||||
+ // CraftBukkit start
|
||||
+ if (!world.addFreshEntity(entity, SpawnReason.BUILD_IRONGOLEM)) {
|
||||
+ if (!world.addFreshEntity(entity, (entity.getType() == EntityTypes.SNOW_GOLEM) ? SpawnReason.BUILD_SNOWMAN : SpawnReason.BUILD_IRONGOLEM)) {
|
||||
+ return;
|
||||
+ }
|
||||
+ clearPatternBlocks(world, shapedetector_shapedetectorcollection); // CraftBukkit - from above
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren