Fixed incorrect Optional type in ShulkerWatcher

This commit is contained in:
NavidK0 2016-03-21 18:54:50 -04:00
parent 351234591f
commit 763024d27a

View File

@ -1,11 +1,10 @@
package me.libraryaddict.disguise.disguisetypes.watchers;
import com.comphenix.protocol.wrappers.BlockPosition;
import com.google.common.base.Optional;
import me.libraryaddict.disguise.disguisetypes.Disguise;
import org.bukkit.block.BlockFace;
import java.util.Optional;
/**
* @author Navid
*/
@ -25,7 +24,7 @@ public class ShulkerWatcher extends LivingWatcher {
}
public Optional<BlockPosition> getAttachmentPosition() {
return Optional.empty();
return Optional.absent();
}
public void setAttachmentPosition(BlockPosition pos) {