Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fixed World.dropItemNaturally() not specifying the Y and Z coordinates correctly.
Dieser Commit ist enthalten in:
Ursprung
5dafc601db
Commit
7fd0125db5
@ -148,8 +148,8 @@ public class CraftWorld implements World {
|
||||
double zs = world.l.nextFloat() * 0.7F + (1.0F - 0.7F) * 0.5D;
|
||||
loc = loc.clone();
|
||||
loc.setX(loc.getX() + xs);
|
||||
loc.setX(loc.getY() + ys);
|
||||
loc.setX(loc.getZ() + zs);
|
||||
loc.setY(loc.getY() + ys);
|
||||
loc.setZ(loc.getZ() + zs);
|
||||
return dropItem(loc, item);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren