GlowstoneMC / Glowkit-Legacy

A continuation of Bukkit for use with Glowstone
GNU General Public License v3.0
27 stars 12 forks source link

Update setResourcePack for 1.8 #49

Closed Aaron1011 closed 9 years ago

Aaron1011 commented 10 years ago

In 1.8, the server now specifies a hash when sending a resource pack request to the client. In addition, it's now possible to determine whether the client accepted or rejected the request, through a new packet type.

This PR allows Player#setResourcePack to be called with a hash, and adds PlayerResourcePackStatusEvent to allow plugins to determine the result.


Edited by turt2live

Related links:

Aaron1011 commented 9 years ago

@turt2live: Fixed

SpaceManiac commented 9 years ago

Merged in 6ecc1352e0526727b7031e4a2f79621a58ef840a.