Skip to content

Commit 0eb3b38

Browse files
committed
1.2 Update!
Fixed the wipe sidebar effect.
1 parent 63f08e3 commit 0eb3b38

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dependency-reduced-pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>net.rayfall.eyesniper2</groupId>
55
<artifactId>skRayFall</artifactId>
6-
<version>1.1.1</version>
6+
<version>1.2</version>
77
<build>
88
<plugins>
99
<plugin>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,5 @@
145145
<version>1.1.0</version>
146146
</dependency>
147147
</dependencies>
148-
<version>1.1.1</version>
148+
<version>1.2</version>
149149
</project>

src/main/java/net/rayfall/eyesniper2/skRayFall/Scoreboard/EffRemoveScoreboard.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public String toString(@Nullable Event evt, boolean arg1) {
3131

3232
@Override
3333
protected void execute(Event evt) {
34-
try{
34+
if (player.getSingle(evt).getScoreboard().getObjective("sideHold") != null){
3535
player.getSingle(evt).getScoreboard().getObjective(DisplaySlot.SIDEBAR).unregister();
3636
}
37-
finally{
37+
else{
3838

3939
}
4040

src/main/resources/plugin.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ description: An addon for skript that adds Citizens support, EffectLib support a
33
author: eyesniper2
44
website: http://rayfall.net/
55
main: net.rayfall.eyesniper2.skRayFall.skRayFall
6-
version: 1.1.1
6+
version: 1.2
77
depend: [Skript]
8-
softdepend: [Citizens, EffectLib, Votifier, ProtocolLib]
8+
softdepend: [Citizens, EffectLib, Votifier, ProtocolLib, Builder]
99
commands:
1010
skrayfall:
1111
description: Base for all skRayFall commands.

0 commit comments

Comments
 (0)