JohnnyJayJay / spigot-maps

A library to simplify the use of customised maps in Spigot.
GNU Lesser General Public License v3.0
48 stars 4 forks source link

Fix legacy method issues and ImageTools bug #9

Closed JohnnyJayJay closed 4 years ago

JohnnyJayJay commented 4 years ago

This PR fixes #6 and similar issues that came up due to the changes in map id handling.

Additionally, it fixes a small, but annoying bug in ImageTools that caused the image division to produce incorrect results.

It also adds a method getImage() to GifRenderer for the purpose of retrieving the source gif after renderer creation.

This will be part of version 2.1.

JohnnyJayJay commented 4 years ago

There is still an issue left with the division of GIF images and I will still fix this before merging.

JohnnyJayJay commented 4 years ago

Gif image division works again now.