3
0
Fork 0

Removed debug. Done for beta v2.0 build 1!

This commit is contained in:
stijnb1234 2020-04-18 10:15:42 +02:00
parent 660ea45743
commit d863e66e8c

View file

@ -1,21 +1,20 @@
package nl.sbdeveloper.themeparkplus.util; package nl.sbdeveloper.themeparkplus.util;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import nl.sbdeveloper.themeparkplus.ThemeParkPlus; import nl.sbdeveloper.themeparkplus.ThemeParkPlus;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.block.BlockFace; import org.bukkit.block.BlockFace;
import org.bukkit.block.BlockState; import org.bukkit.block.BlockState;
import org.bukkit.block.data.type.Gate;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
public class LGUtil { public class LGUtil {
private static List<Vector> offsets = new ArrayList<>(); private static List<Vector> offsets = new ArrayList<>();
@ -51,12 +50,6 @@ public class LGUtil {
public static boolean zetLampAan(Block lampBlock) { public static boolean zetLampAan(Block lampBlock) {
if (nieuweVersie) { if (nieuweVersie) {
if (!isLamp(lampBlock)) {
Bukkit.getLogger().severe(lampBlock.getType().toString());
}
if (isAan(lampBlock)) {
Bukkit.getLogger().severe(getAsString(getBlockData(lampBlock)));
}
if ((isLamp(lampBlock)) && (!isAan(lampBlock))) { if ((isLamp(lampBlock)) && (!isAan(lampBlock))) {
setBlockData(lampBlock, lampAanData); setBlockData(lampBlock, lampAanData);