mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-06-29 16:15:00 +02:00
Update src/main/java/fr/moribus/imageonmap/image/ImageRendererExecutor.java
Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
parent
19d79d2da0
commit
965ebe6605
|
@ -140,7 +140,7 @@ public class ImageRendererExecutor extends Worker
|
||||||
if (image == null) throw new IOException(I.t("The given URL is not a valid image"));
|
if (image == null) throw new IOException(I.t("The given URL is not a valid image"));
|
||||||
|
|
||||||
// Limits are in place and the player does NOT have rights to avoid them.
|
// Limits are in place and the player does NOT have rights to avoid them.
|
||||||
checkSizeLimit(playerUUID, image );
|
checkSizeLimit(playerUUID, image);
|
||||||
|
|
||||||
updateMap(scaling.resize(image, width*128, height*128),playerUUID,map.getMapsIDs());
|
updateMap(scaling.resize(image, width*128, height*128),playerUUID,map.getMapsIDs());
|
||||||
return map;
|
return map;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user