Update src/main/java/fr/moribus/imageonmap/image/ImageRendererExecutor.java

Co-authored-by: Amaury Carrade <amaury@carrade.eu>
This commit is contained in:
Vlammar 2020-08-18 00:14:38 +02:00 committed by GitHub
parent 19d79d2da0
commit 965ebe6605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"));
// 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());
return map;