Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
Do not use deprecated ItemSpawnEvent constructor
Dieser Commit ist enthalten in:
Ursprung
9642498d24
Commit
01a9959aaf
@ -447,7 +447,7 @@ public class CraftEventFactory {
|
||||
org.bukkit.entity.Item entity = (org.bukkit.entity.Item) entityitem.getBukkitEntity();
|
||||
CraftServer craftServer = (CraftServer) entity.getServer();
|
||||
|
||||
ItemSpawnEvent event = new ItemSpawnEvent(entity, entity.getLocation());
|
||||
ItemSpawnEvent event = new ItemSpawnEvent(entity);
|
||||
|
||||
craftServer.getPluginManager().callEvent(event);
|
||||
return event;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren