Skip to content

Commit 35fd92e

Browse files
committed
getter for shieldUtils
1 parent 679de6c commit 35fd92e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>to.us.tf</groupId>
88
<artifactId>AbsorptionShields</artifactId>
9-
<version>1.0</version>
9+
<version>1.1</version>
1010
<properties>
1111
<maven.compiler.source>1.8</maven.compiler.source>
1212
<maven.compiler.target>1.8</maven.compiler.target>
@@ -16,10 +16,6 @@
1616
<id>paper-repo</id>
1717
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
1818
</repository>
19-
<repository>
20-
<id>tech-repo</id>
21-
<url>https://repo.techcable.net/content/groups/public/</url>
22-
</repository>
2319
</repositories>
2420
<build>
2521
<finalName>${project.name}</finalName>

src/main/java/to/us/tf/absorptionshields/AbsorptionShields.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@
2121
public class AbsorptionShields extends JavaPlugin
2222
{
2323
ConfigManager configManager;
24+
ShieldUtils shieldUtils;
25+
26+
public ShieldUtils getShieldUtils()
27+
{
28+
return shieldUtils;
29+
}
2430

2531
public void onEnable()
2632
{
27-
ShieldUtils shieldUtils = null;
33+
2834
try
2935
{
3036
shieldUtils = new ShieldUtils(this);

0 commit comments

Comments
 (0)