geforkt von Mirrors/Paper
Add correct interfaces for comparator / daylight detector
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
aa4bae9d6f
Commit
46de596c57
@ -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;
|
||||
|
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren