From 46de596c5748f698ad78b0eec62bf50f23c9e91f Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 16 Apr 2017 08:16:49 +1000 Subject: [PATCH] Add correct interfaces for comparator / daylight detector By: md_5 --- .../java/org/bukkit/craftbukkit/block/CraftComparator.java | 3 ++- .../org/bukkit/craftbukkit/block/CraftDaylightDetector.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftComparator.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftComparator.java index c3c3bd08e0..d39e2fcc7f 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftComparator.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftComparator.java @@ -4,9 +4,10 @@ import net.minecraft.server.TileEntity; import net.minecraft.server.TileEntityComparator; import org.bukkit.Material; import org.bukkit.block.Block; +import org.bukkit.block.Comparator; import org.bukkit.craftbukkit.CraftWorld; -public class CraftComparator extends CraftBlockState { +public class CraftComparator extends CraftBlockState implements Comparator { private final CraftWorld world; private final TileEntityComparator comparator; diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftDaylightDetector.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftDaylightDetector.java index b970727cfb..039df2fd9c 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftDaylightDetector.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftDaylightDetector.java @@ -4,9 +4,10 @@ import net.minecraft.server.TileEntity; import net.minecraft.server.TileEntityLightDetector; import org.bukkit.Material; import org.bukkit.block.Block; +import org.bukkit.block.DaylightDetector; import org.bukkit.craftbukkit.CraftWorld; -public class CraftDaylightDetector extends CraftBlockState { +public class CraftDaylightDetector extends CraftBlockState implements DaylightDetector { private final CraftWorld world; private final TileEntityLightDetector detector;