mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-25 11:35:36 +01:00
Updates for MC 1.14.4
This commit is contained in:
parent
afc935f3f1
commit
c068a28259
4
pom.xml
4
pom.xml
@ -6,7 +6,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<!-- Bukkit API Version, change if out dated -->
|
||||
<bukkit.version>1.14</bukkit.version>
|
||||
<bukkit.version>1.14.4</bukkit.version>
|
||||
<build.number>SNAPSHOT</build.number>
|
||||
</properties>
|
||||
|
||||
@ -235,7 +235,7 @@
|
||||
<dependency>
|
||||
<groupId>com.cnaude.venturechat</groupId>
|
||||
<artifactId>VentureChat</artifactId>
|
||||
<version>2.11.0</version>
|
||||
<version>2.16.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Jobs -->
|
||||
|
@ -51,7 +51,7 @@ public class OreBroadcastListener implements Listener {
|
||||
public void onOreBroadcastEvent(OreBroadcastEvent e) {
|
||||
|
||||
String blockName;
|
||||
if (e.getBlockMined().getType().equals(Material.LEGACY_GLOWING_REDSTONE_ORE)) {
|
||||
if (e.getBlockMined().getType().equals(Material.REDSTONE_ORE)) {
|
||||
blockName = "redstone";
|
||||
} else {
|
||||
blockName = e.getBlockMined().getType().name().toLowerCase().replace("_ore", "");
|
||||
|
@ -235,10 +235,4 @@ public class IRCCommandSender implements CommandSender {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Spigot spigot() {
|
||||
plugin.logDebug("Spigot?");
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -226,10 +226,4 @@ public class IRCConsoleCommandSender implements ConsoleCommandSender {
|
||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
||||
}
|
||||
|
||||
@Override
|
||||
public Spigot spigot() {
|
||||
plugin.logDebug("Spigot?");
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user