Skip to content

Commit

Permalink
removed paper dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingTwist committed Apr 1, 2021
1 parent 5b88b30 commit 53e476d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: JumperUtils
main: jumperutils.JumperUtils
version: 1.1.1
version: 1.1.2
author: The_Dark_Jumper
description: general ingame utilities I consider useful
api-version: 1.13
Expand Down
17 changes: 7 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@

<properties>
<plugman-path>D:/Minecraft_Modding/testserver-1.15.2/plugins/PlugMan.jar</plugman-path>
<spigot-path>D:/Minecraft_Modding/spigot-1.15.2.jar</spigot-path>
<project.build.sourceEncoding>windows-1252</project.build.sourceEncoding>
</properties>

<groupId>org.example</groupId>
<artifactId>JumperUtils-1.15.2</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>8</source>
<target>8</target>
Expand Down Expand Up @@ -63,31 +66,25 @@
<scope>system</scope>
<systemPath>${plugman-path}</systemPath>
</dependency>
<dependency>
<!--<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependency>-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.15.2</version>
<scope>system</scope>
<systemPath>D:/Minecraft_Modding/spigot-1.15.2.jar</systemPath>
<systemPath>${spigot-path}</systemPath>
</dependency>
<dependency>
<groupId>jumper</groupId>
<artifactId>JumperCommons</artifactId>
<version>1.1.0</version>
<classifier>jar-with-dependencies</classifier>
</dependency>
<!--<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>-->
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
Player p = (Player) sender;
if (args.length == 1) {
if (args[0].equalsIgnoreCase("edit")) {
Block targetBlock = p.getTargetBlock(10);
Block targetBlock = p.getTargetBlockExact(10);
if (targetBlock == null || targetBlock.getType() != Material.COMMAND_BLOCK) {
p.sendMessage("You have to look at a command-block to edit a testCannon.");
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jumperutils/global/utils/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Update {
public static final String SUCCESS_MSG = "was updated successfully.";
public static final String RELOAD_MSG = "is reloading.";
public static final String RELOAD_COMPLETE_MSG = "has finished reloading.";
public static final String version = "1.1.1-a";
public static final String version = "1.1.2-a";
private static final String pluginName;

static {
Expand Down

0 comments on commit 53e476d

Please sign in to comment.