mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-28 21:15:46 +01:00
Forget to remove print
This commit is contained in:
parent
0359740890
commit
6e90e68c19
@ -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){
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user