mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
Compare commits
56 Commits
feat/build
...
merge-bran
Author | SHA1 | Date | |
---|---|---|---|
beddbe42dd | |||
fefb750b47 | |||
bd5edc3156 | |||
cc13d9cf49 | |||
96be5f1149 | |||
d7da199d26 | |||
64f4fbfe18 | |||
fa1b6dde4c | |||
6a5b5c241e | |||
cec506f148 | |||
4602e2246b | |||
3ac893db50 | |||
bcf8c2f04a | |||
88eceab480 | |||
df756d43ef | |||
91c4153037 | |||
c5f0886df6 | |||
ca990bc526 | |||
546827cd5a | |||
e7e08c060e | |||
eb6a91323d | |||
2fbd7578ab | |||
75cd1864f6 | |||
a420339017 | |||
2b5ea048cc | |||
20f341ea45 | |||
eadbc504e5 | |||
760ab3c622 | |||
b804459dcc | |||
63f805935f | |||
1937a3d4de | |||
36663385ab | |||
5d4085ab07 | |||
0686419ce3 | |||
9998392b1a | |||
90c276668b | |||
19db8a14dc | |||
7f0eeab09c | |||
410f26f76f | |||
2d918fe17b | |||
44bae8ab00 | |||
6cc9b26661 | |||
6761ab8035 | |||
9490dacf36 | |||
173f37d55e | |||
25c8c0b654 | |||
217e5fd62e | |||
2eef02ef13 | |||
41cf62c8c0 | |||
268b71f8a3 | |||
a84a47980a | |||
3a502713ea | |||
5dc5e5dcc5 | |||
171daf25a4 | |||
2fa7b6855b | |||
38de6f9e67 |
46
pom.xml
46
pom.xml
@ -39,30 +39,68 @@
|
|||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>atlas-nexus-01-totalfreedom-development</id>
|
<id>atlas-nexus-01-totalfreedom-development</id>
|
||||||
<url>https://nexus-01.core.atlas-media.co.uk/repository/totalfreedom-development/</url>
|
<url>https://nexus-01.core.atlas-media.co.uk/repository/totalfreedom-development/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>CodeMC</id>
|
||||||
|
<url>https://repo.codemc.org/repository/maven-public/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>spigot-repo</id>
|
||||||
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>enginehub</id>
|
<id>enginehub</id>
|
||||||
<url>https://maven.enginehub.org/repo/</url>
|
<url>https://maven.enginehub.org/repo/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>elmakers-repo</id>
|
||||||
|
<url>https://maven.elmakers.com/repository/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>sk89q-snapshots</id>
|
||||||
|
<url>https://maven.sk89q.com/artifactory/repo</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>dv8tion</id>
|
||||||
|
<name>m2-dv8tion</name>
|
||||||
|
<url>https://m2.dv8tion.net/releases/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>playpro</id>
|
<id>playpro</id>
|
||||||
<url>https://maven.playpro.com/</url>
|
<url>https://maven.playpro.com/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>essentialsx-repo</id>
|
<id>md_5-public</id>
|
||||||
<url>https://repo.essentialsx.net/releases/</url>
|
<url>https://repo.md-5.net/content/groups/public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>jitpack</id>
|
<id>dmulloy2-repo</id>
|
||||||
<url>https://jitpack.io/</url>
|
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>sk89q-repo</id>
|
||||||
|
<url>https://maven.sk89q.com/repo/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<id>esentialsx-repo</id>
|
||||||
|
<url>https://repo.essentialsx.net/releases/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -109,6 +109,16 @@ public class EventBlocker extends FreedomService
|
|||||||
event.setRadius(ConfigEntry.EXPLOSIVE_RADIUS.getDouble().floatValue());
|
event.setRadius(ConfigEntry.EXPLOSIVE_RADIUS.getDouble().floatValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler(priority = EventPriority.HIGH)
|
||||||
|
public void onBlockExplode(BlockExplodeEvent event) {
|
||||||
|
if(!ConfigEntry.ALLOW_EXPLOSIONS.getBoolean()) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
event.setYield(ConfigEntry.EXPLOSIVE_RADIUS.getDouble().floatValue());
|
||||||
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGH)
|
@EventHandler(priority = EventPriority.HIGH)
|
||||||
public void onBlockExplode(BlockExplodeEvent event)
|
public void onBlockExplode(BlockExplodeEvent event)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user