geforkt von Mirrors/Paper
Remove extra addFreshEntity call in DefaultDispenseItemBehavior
Dieser Commit ist enthalten in:
Ursprung
1d6c40afac
Commit
6d7c3255f6
@ -52,10 +52,10 @@
|
||||
double d = position.x();
|
||||
double d1 = position.y();
|
||||
double d2 = position.z();
|
||||
@@ -44,6 +_,45 @@
|
||||
@@ -43,7 +_,45 @@
|
||||
level.random.triangle(0.2, 0.0172275 * speed),
|
||||
level.random.triangle(facing.getStepZ() * d3, 0.0172275 * speed)
|
||||
);
|
||||
level.addFreshEntity(itemEntity);
|
||||
+ return itemEntity; // CraftBukkit
|
||||
+ }
|
||||
+
|
||||
@ -91,7 +91,7 @@
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ level.addFreshEntity(itemEntity);
|
||||
level.addFreshEntity(itemEntity);
|
||||
+
|
||||
+ return true;
|
||||
+ // CraftBukkit end
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren