mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ac480ea092
2 files changed
+8
-3
No files matched your search
@@ -844,7 +844,7 @@ public class Util {
|
||||
private volatile static String nmsVersion;
|
||||
|
||||
public static boolean isDisplayAllowBlock(@NotNull Material mat) {
|
||||
return mat.isTransparent() || !mat.isOccluding();
|
||||
return mat.isTransparent() || isWallSign(mat);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.generator.BiomeProvider;
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.PluginBase;
|
||||
import org.bukkit.plugin.PluginDescriptionFile;
|
||||
import org.bukkit.plugin.PluginLoader;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -44,7 +43,7 @@ public class ListenerContainerTest {
|
||||
|
||||
@Test
|
||||
public void testMatches() {
|
||||
Plugin testPlugin = new PluginBase() {
|
||||
Plugin testPlugin = new Plugin() {
|
||||
@NotNull
|
||||
@Override
|
||||
public File getDataFolder() {
|
||||
@@ -149,6 +148,12 @@ public class ListenerContainerTest {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getName() {
|
||||
return "QuickTest";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s, @NotNull String[] strings) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user