Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
056015395a
Commit
88aa07ccb2
@ -63,7 +63,7 @@ import java.io.IOException;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
public class FlatteningWrapper15 implements FlatteningWrapper.IFlatteningWrapper {
|
public class FlatteningWrapper15 implements FlatteningWrapper {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isNoBook(ItemStack item) {
|
public boolean isNoBook(ItemStack item) {
|
||||||
|
@ -45,7 +45,7 @@ public class LinkageUtils {
|
|||||||
{
|
{
|
||||||
objectMap.put(Config.class, Config.getInstance());
|
objectMap.put(Config.class, Config.getInstance());
|
||||||
objectMap.put(BauSystem.class, BauSystem.getInstance());
|
objectMap.put(BauSystem.class, BauSystem.getInstance());
|
||||||
objectMap.put(FlatteningWrapper.IFlatteningWrapper.class, FlatteningWrapper.impl);
|
objectMap.put(FlatteningWrapper.class, FlatteningWrapper.impl);
|
||||||
objectMap.put(NMSWrapper.INMSWrapper.class, NMSWrapper.impl);
|
objectMap.put(NMSWrapper.INMSWrapper.class, NMSWrapper.impl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,12 +35,9 @@ import org.bukkit.util.Vector;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
public class FlatteningWrapper {
|
public interface FlatteningWrapper {
|
||||||
private FlatteningWrapper() {}
|
FlatteningWrapper impl = VersionDependent.getVersionImpl(BauSystem.getInstance());
|
||||||
|
|
||||||
public static final IFlatteningWrapper impl = VersionDependent.getVersionImpl(BauSystem.getInstance());
|
|
||||||
|
|
||||||
public interface IFlatteningWrapper {
|
|
||||||
boolean isNoBook(ItemStack item);
|
boolean isNoBook(ItemStack item);
|
||||||
|
|
||||||
boolean isUnpusheable(Material material);
|
boolean isUnpusheable(Material material);
|
||||||
@ -60,4 +57,3 @@ public class FlatteningWrapper {
|
|||||||
Material getTraceHideMaterial();
|
Material getTraceHideMaterial();
|
||||||
Material getTraceXZMaterial();
|
Material getTraceXZMaterial();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren