13
0
geforkt von Mirrors/Paper

Elder Guardian appearance API

Dieser Commit ist enthalten in:
SoSeDiK 2022-10-11 20:38:47 +03:00
Ursprung 4f1619700a
Commit 7224eecfb1

Datei anzeigen

@ -3295,6 +3295,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
// Paper end
// Paper start
@Override
public void showElderGuardian(boolean silent) {
if (getHandle().connection != null) getHandle().connection.send(new ClientboundGameEventPacket(ClientboundGameEventPacket.GUARDIAN_ELDER_EFFECT, silent ? 0F : 1F));
}
// Paper end
public Player.Spigot spigot()
{
return this.spigot;