From 763024d27aab619caf7662e95760099d712b7f58 Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Mon, 21 Mar 2016 18:54:50 -0400 Subject: [PATCH] Fixed incorrect Optional type in ShulkerWatcher --- .../disguise/disguisetypes/watchers/ShulkerWatcher.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/ShulkerWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/ShulkerWatcher.java index 089ddb5f..b41add41 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/ShulkerWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/ShulkerWatcher.java @@ -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 getAttachmentPosition() { - return Optional.empty(); + return Optional.absent(); } public void setAttachmentPosition(BlockPosition pos) {