forked from Tartaros-Gamer/Pl3xMap-GriefDefender
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de1c1ff
commit 2612e13
Showing
8 changed files
with
61 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...iefprevention/Pl3xMapGriefprevention.java → ...p/griefdefender/Pl3xMapGriefdefender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package net.pl3x.map.griefdefender.hook; | ||
|
||
import com.griefdefender.api.GriefDefender; | ||
import com.griefdefender.api.claim.Claim; | ||
|
||
import java.util.Collection; | ||
import java.util.UUID; | ||
|
||
public class GPHook { | ||
public static boolean isWorldEnabled(UUID uuid) { | ||
return GriefDefender.getCore().isEnabled(uuid); | ||
} | ||
|
||
public static Collection<Claim> getClaims() { | ||
return GriefDefender.getCore().getAllClaims(); | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...map/griefprevention/hook/Pl3xMapHook.java → ...x/map/griefdefender/hook/Pl3xMapHook.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
src/main/java/net/pl3x/map/griefprevention/hook/GPHook.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: "${project.name}" | ||
main: "${project.groupId}.Pl3xMapGriefprevention" | ||
main: "${project.groupId}.Pl3xMapGriefdefender" | ||
version: "${project.version}" | ||
description: "${project.description}" | ||
api-version: "1.16" | ||
authors: [ BillyGalbreath ] | ||
softdepend: | ||
- GriefPrevention | ||
- GriefDefender | ||
- Pl3xMap |