This commit is contained in:
Jesse Boyd 2017-06-18 06:09:36 +10:00
parent 7ae2d65607
commit 455353ec51
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,6 @@ public class RenderListener implements Listener {
private final Map<UUID, int[]> views = new ConcurrentHashMap<>();
private Iterator<Map.Entry<UUID, int[]>> entrySet;
private final long GLOBAL_START = System.currentTimeMillis();
private int OFFSET = 6;
public RenderListener(Plugin plugin) {
@ -130,6 +129,5 @@ public class RenderListener implements Listener {
Player player = event.getPlayer();
UUID uid = player.getUniqueId();
views.remove(uid);
FawePlayer fp = FawePlayer.wrap(player);
}
}

View File

@ -173,7 +173,7 @@ public class StructureFormat implements ClipboardReader, ClipboardWriter {
Map<String, Object> structure = FaweCache.asMap("version", 1, "author", owner);
// ignored: version / owner
MutableBlockVector mutable = new MutableBlockVector(0, 0, 0);
int[] indexes = new int[MAX_SIZE];
int[] indexes = new int[Character.MAX_VALUE];
// Size
structure.put("size", Arrays.asList(width, height, length));
// Palette