Forget to remove print

This commit is contained in:
Vlammar 2020-06-14 02:49:46 +02:00
parent 0359740890
commit 6e90e68c19
2 changed files with 3 additions and 11 deletions

View File

@ -19,7 +19,6 @@
package fr.moribus.imageonmap.ui;
import fr.moribus.imageonmap.map.PosterMap;
import fr.zcraft.zlib.tools.PluginLogger;
import fr.zcraft.zlib.tools.world.FlatLocation;
import fr.zcraft.zlib.tools.world.WorldUtils;
import org.bukkit.Location;
@ -118,7 +117,7 @@ public class PosterOnASurface {
ItemFrame[] frames = new ItemFrame[map.getMapCount()];
FlatLocation loc = location.clone();
PluginLogger.info("loc = "+location+ " bf = "+bf);
int X=0;
int Y=0;
@ -137,15 +136,11 @@ public class PosterOnASurface {
}
PluginLogger.info("max: X: "+X+" Y:"+Y);
for (int y = 0; y < Y; ++y) {
for (int x = 0; x < X; ++x) {
PluginLogger.info("x: "+x+" y:"+y);
int mapIndex = map.getIndexAt(x, y);
PluginLogger.info("map index "+mapIndex);
ItemFrame frame = getMapFrameAt(loc, map);
PluginLogger.info("frame= "+frame.getLocation());
if (frame != null)
frames[mapIndex] = frame;
switch (bf){

View File

@ -51,11 +51,8 @@ abstract public class SplatterMapManager {
}
static public ItemStack makeSplatterMap(PosterMap map) {
String s="";
for(Byte b:I.t("Splatter Map").getBytes()){
s+=b+" ";
}
PluginLogger.info(""+s);
final ItemStack splatter = new ItemStackBuilder(Material.FILLED_MAP).title(ChatColor.GOLD, map.getName())
.title(ChatColor.DARK_GRAY, " - ").title(ChatColor.GRAY, I.t("Splatter Map"))