mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Fixes #591
This commit is contained in:
parent
7ae2d65607
commit
455353ec51
@ -21,7 +21,6 @@ public class RenderListener implements Listener {
|
|||||||
|
|
||||||
private final Map<UUID, int[]> views = new ConcurrentHashMap<>();
|
private final Map<UUID, int[]> views = new ConcurrentHashMap<>();
|
||||||
private Iterator<Map.Entry<UUID, int[]>> entrySet;
|
private Iterator<Map.Entry<UUID, int[]>> entrySet;
|
||||||
private final long GLOBAL_START = System.currentTimeMillis();
|
|
||||||
private int OFFSET = 6;
|
private int OFFSET = 6;
|
||||||
|
|
||||||
public RenderListener(Plugin plugin) {
|
public RenderListener(Plugin plugin) {
|
||||||
@ -130,6 +129,5 @@ public class RenderListener implements Listener {
|
|||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
UUID uid = player.getUniqueId();
|
UUID uid = player.getUniqueId();
|
||||||
views.remove(uid);
|
views.remove(uid);
|
||||||
FawePlayer fp = FawePlayer.wrap(player);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -173,7 +173,7 @@ public class StructureFormat implements ClipboardReader, ClipboardWriter {
|
|||||||
Map<String, Object> structure = FaweCache.asMap("version", 1, "author", owner);
|
Map<String, Object> structure = FaweCache.asMap("version", 1, "author", owner);
|
||||||
// ignored: version / owner
|
// ignored: version / owner
|
||||||
MutableBlockVector mutable = new MutableBlockVector(0, 0, 0);
|
MutableBlockVector mutable = new MutableBlockVector(0, 0, 0);
|
||||||
int[] indexes = new int[MAX_SIZE];
|
int[] indexes = new int[Character.MAX_VALUE];
|
||||||
// Size
|
// Size
|
||||||
structure.put("size", Arrays.asList(width, height, length));
|
structure.put("size", Arrays.asList(width, height, length));
|
||||||
// Palette
|
// Palette
|
||||||
|
Loading…
Reference in New Issue
Block a user