Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/ By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -37,7 +37,7 @@ public class CraftMapCanvas implements MapCanvas {
|
||||
return;
|
||||
if (buffer[y * 128 + x] != color) {
|
||||
buffer[y * 128 + x] = color;
|
||||
mapView.worldMap.flagDirty(x, y, y);
|
||||
mapView.worldMap.flagDirty(x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package org.bukkit.craftbukkit.map;
|
||||
|
||||
import net.minecraft.server.WorldMap;
|
||||
import net.minecraft.server.WorldMapDecoration;
|
||||
import net.minecraft.server.MapIcon;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -41,8 +41,9 @@ public class CraftMapRenderer extends MapRenderer {
|
||||
continue;
|
||||
}
|
||||
|
||||
WorldMapDecoration decoration = (WorldMapDecoration) worldMap.decorations.get(key);
|
||||
cursors.addCursor(decoration.locX, decoration.locY, (byte) (decoration.rotation & 15), decoration.type);
|
||||
|
||||
MapIcon decoration = (MapIcon) worldMap.decorations.get(key);
|
||||
cursors.addCursor(decoration.getX(), decoration.getY(), (byte) (decoration.getRotation() & 15), decoration.getType());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user