Skip to content

Instantly share code, notes, and snippets.

@Azuxul
Created October 28, 2015 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Azuxul/9cd7e1213e57502f5844 to your computer and use it in GitHub Desktop.
Save Azuxul/9cd7e1213e57502f5844 to your computer and use it in GitHub Desktop.
public static void sendElderGuardianAnimation(Player player) {
try {
((CraftPlayer)player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(10, 0.0F));
}
catch (Exception e) {
Logger.getLogger("Azuxul").warning("Bukkit version is not compatible or spigot is used ! " + e.getCause());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment