mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
Fixed incorrect Optional type in ShulkerWatcher
This commit is contained in:
parent
351234591f
commit
763024d27a
@ -1,11 +1,10 @@
|
|||||||
package me.libraryaddict.disguise.disguisetypes.watchers;
|
package me.libraryaddict.disguise.disguisetypes.watchers;
|
||||||
|
|
||||||
import com.comphenix.protocol.wrappers.BlockPosition;
|
import com.comphenix.protocol.wrappers.BlockPosition;
|
||||||
|
import com.google.common.base.Optional;
|
||||||
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Navid
|
* @author Navid
|
||||||
*/
|
*/
|
||||||
@ -25,7 +24,7 @@ public class ShulkerWatcher extends LivingWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Optional<BlockPosition> getAttachmentPosition() {
|
public Optional<BlockPosition> getAttachmentPosition() {
|
||||||
return Optional.empty();
|
return Optional.absent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAttachmentPosition(BlockPosition pos) {
|
public void setAttachmentPosition(BlockPosition pos) {
|
||||||
|
Loading…
Reference in New Issue
Block a user