From be78f2eae190166f737b81f46ac6688d44fb6a25 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Fri, 28 Jun 2019 18:03:24 -0400 Subject: [PATCH] Added TODO to missing code. --- .../com/sk89q/worldedit/LocalSession.java | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java index de7552acc..e46ea7b44 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java @@ -32,18 +32,28 @@ import com.boydti.fawe.object.changeset.FaweChangeSet; import com.boydti.fawe.object.clipboard.MultiClipboardHolder; import com.boydti.fawe.object.collection.SparseBitSet; import com.boydti.fawe.object.extent.ResettableExtent; -import com.boydti.fawe.util.*; +import com.boydti.fawe.util.BrushCache; +import com.boydti.fawe.util.EditSessionBuilder; +import com.boydti.fawe.util.MainUtil; +import com.boydti.fawe.util.StringMan; +import com.boydti.fawe.util.TextureHolder; +import com.boydti.fawe.util.TextureUtil; import com.boydti.fawe.wrappers.WorldWrapper; + +import static com.google.common.base.Preconditions.checkNotNull; import com.sk89q.jchronic.Chronic; import com.sk89q.jchronic.Options; import com.sk89q.jchronic.utils.Span; import com.sk89q.jchronic.utils.Time; import com.sk89q.jnbt.IntTag; import com.sk89q.jnbt.Tag; -import com.sk89q.worldedit.world.block.BaseBlock; import com.sk89q.worldedit.blocks.BaseItem; import com.sk89q.worldedit.blocks.BaseItemStack; -import com.sk89q.worldedit.command.tool.*; +import com.sk89q.worldedit.command.tool.BlockTool; +import com.sk89q.worldedit.command.tool.BrushTool; +import com.sk89q.worldedit.command.tool.InvalidToolBindException; +import com.sk89q.worldedit.command.tool.SinglePickaxe; +import com.sk89q.worldedit.command.tool.Tool; import com.sk89q.worldedit.entity.Player; import com.sk89q.worldedit.extension.platform.Actor; import com.sk89q.worldedit.extent.inventory.BlockBag; @@ -63,6 +73,7 @@ import com.sk89q.worldedit.session.ClipboardHolder; import com.sk89q.worldedit.session.request.Request; import com.sk89q.worldedit.util.HandSide; import com.sk89q.worldedit.world.World; +import com.sk89q.worldedit.world.block.BaseBlock; import com.sk89q.worldedit.world.item.ItemType; import com.sk89q.worldedit.world.item.ItemTypes; import com.sk89q.worldedit.world.snapshot.Snapshot; @@ -70,14 +81,11 @@ import com.sk89q.worldedit.world.snapshot.Snapshot; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.io.File; -import java.io.FileFilter; import java.io.FileInputStream; -import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Calendar; import java.util.Collections; -import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; @@ -86,11 +94,6 @@ import java.util.TimeZone; import java.util.UUID; import java.util.concurrent.atomic.AtomicBoolean; -import static com.google.common.base.Preconditions.checkNotNull; - - -import static com.google.common.base.Preconditions.checkNotNull; - /** * Stores session information. */ @@ -686,7 +689,7 @@ public class LocalSession implements TextureHolder { } } if (world != null) { - Fawe.imp().registerPacketListener(); + //TODO FIXME Fawe.imp().registerPacketListener(); world.update(); } }