mirror of
https://github.com/PryPurity/WorldBorder.git
synced 2024-11-15 10:25:14 +01:00
+ Fixed the border not showing on Dynmap bug. I guess it was working half the time?
+ Updated plugin to fully support 1.17.1. To clear up confusion, I ran this release version on a server and everything was running fine.
This commit is contained in:
parent
a9243a2e50
commit
39d6049aec
14
pom.xml
14
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.wimbli.WorldBorder</groupId>
|
||||
<artifactId>WorldBorder</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>2.1.4</version>
|
||||
<name>WorldBorder</name>
|
||||
<url>https://github.com/PryPurity/WorldBorder</url>
|
||||
<issueManagement>
|
||||
@ -33,7 +33,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.16.5-R0.1-SNAPSHOT</version>
|
||||
<version>1.17.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!--Dynmap API-->
|
||||
@ -44,15 +44,15 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.destroystokyo.paper</groupId>
|
||||
<groupId>io.papermc.paper</groupId>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>1.16.5-R0.1-SNAPSHOT</version>
|
||||
<version>1.17.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.papermc</groupId>
|
||||
<artifactId>paperlib</artifactId>
|
||||
<version>1.0.5</version>
|
||||
<version>1.0.6</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@ -73,14 +73,14 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<version>3.2.4</version>
|
||||
<configuration>
|
||||
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
||||
</dependencyReducedPomLocation>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>io.papermc.lib</pattern>
|
||||
<shadedPattern>com.wimbli.WorldBorder.paperlib</shadedPattern> <!-- Replace this -->
|
||||
<shadedPattern>com.wimbli.WorldBorder.paperlib</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
|
@ -14,7 +14,6 @@ import java.util.Map.Entry;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
|
||||
public class Config {
|
||||
public static final DecimalFormat coord = new DecimalFormat("0.0");
|
||||
private static final int currentCfgVersion = 12;
|
||||
@ -38,7 +37,7 @@ public class Config {
|
||||
private static int timerTicks = 4;
|
||||
private static boolean whooshEffect = false;
|
||||
private static boolean portalRedirection = true;
|
||||
private static boolean dynmapEnable = false;
|
||||
private static boolean dynmapEnable = true;
|
||||
private static String dynmapLayerLabel;
|
||||
private static String dynmapMessage;
|
||||
private static int dynmapPriority = 0;
|
||||
@ -269,6 +268,7 @@ public class Config {
|
||||
public static void setDenyEnderpearl(boolean enable) {
|
||||
denyEnderpearl = enable;
|
||||
log("Direct cancellation of ender pearls thrown past the border " + (enable ? "enabled" : "disabled") + ".");
|
||||
log("Direct cancellation of ender pearls thrown past the border " + (enable ? "enabled" : "disabled") + ".");
|
||||
save(true);
|
||||
}
|
||||
|
||||
|
@ -51,8 +51,7 @@ public class WBCommand implements CommandExecutor {
|
||||
//-----
|
||||
addCmd(new CmdDenypearl()); // 1
|
||||
addCmd(new CmdReload()); // 1
|
||||
addCmd(new CmdDebug()); // 1
|
||||
|
||||
addCmd(new CmdDebug()); // 1
|
||||
// this is the default command, which shows command example pages; should be last just in case
|
||||
addCmd(new CmdCommands());
|
||||
}
|
||||
|
@ -1,11 +1,12 @@
|
||||
name: WorldBorder
|
||||
authors: [ Brettflan, PryPurity ]
|
||||
description: Efficient, feature-rich plugin for limiting the size of your worlds.
|
||||
version: 2.1.2
|
||||
version: 2.1.4
|
||||
api-version: 1.15
|
||||
main: com.wimbli.WorldBorder.WorldBorder
|
||||
softdepend:
|
||||
- dynmap
|
||||
- Multiworld
|
||||
- Multiverse-Core
|
||||
commands:
|
||||
wborder:
|
||||
|
Loading…
Reference in New Issue
Block a user