Skip to content

Commit

Permalink
Compile with 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed May 13, 2024
1 parent b7c02b8 commit f956ca0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
}

dependencies {
compileOnly(group = "org.spigotmc", name = "spigot-api", version = "1.20.4-R0.1-SNAPSHOT")
compileOnly(group = "org.spigotmc", name = "spigot-api", version = "1.20.6-R0.1-SNAPSHOT")
compileOnly(group = "com.sk89q.worldedit", name = "worldedit-core", version = "7.1.0")
compileOnly(group = "com.sk89q.worldguard", name = "worldguard-bukkit", version = "7.0.0")
compileOnly(group = "com.palmergames.bukkit.towny", name = "towny", version = "0.98.2.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public void run() {

public static boolean isDisplay(Entity entity) {
try {
if (entity.getType() == EntityType.DROPPED_ITEM) {
if (entity.getType() == EntityType.ITEM) {
ItemMeta itemMeta = ((Item) entity).getItemStack().getItemMeta();
if (itemMeta != null && containsLocation(itemMeta.getDisplayName())) {
return true;
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/com/griefcraft/sql/PhysDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,17 +259,6 @@ public int getProtectionCount(String player, int blockId) {
return count;
}

/**
* Get the menu style for a player
*
* @param player
* @return
* @deprecated
*/
public String getMenuStyle(String player) {
return "basic";
}

/**
* Load the database and do any updating required or create the tables
*/
Expand Down

0 comments on commit f956ca0

Please sign in to comment.