Skip to content

Commit 66ee42c

Browse files
committed
Updated website
1 parent 6224375 commit 66ee42c

2 files changed

Lines changed: 3 additions & 18 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ dependencies {
9292

9393
launchtarget("org.mangorage:mangobotlaunchtarget:0.1.8")
9494

95-
plugin('org.mangorage:mangobot:12.0.115')
96-
plugin('org.mangorage:mangobotplugin:12.0.63')
95+
plugin('org.mangorage:mangobot:12.0.123')
96+
plugin('org.mangorage:mangobotplugin:12.0.72')
9797

9898
library('org.eclipse.jetty:jetty-server:11.0.16')
9999
library('org.eclipse.jetty:jetty-servlet:11.0.16')

src/main/java/org/mangorage/mangobotsite/website/servlet/data/trick/TrickData.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,7 @@ public String getType() {
2727
return trick.getType() == null ? "N/A" : trick.getType().name();
2828
}
2929

30-
public String getContent() {
31-
switch (trick.getType()) {
32-
case NORMAL -> {
33-
return trick.getContent();
34-
}
35-
case SCRIPT -> {
36-
return trick.getScript();
37-
}
38-
case ALIAS -> {
39-
return trick.getAliasTarget();
40-
}
41-
default -> {
42-
return "N/A";
43-
}
44-
}
45-
}
30+
public String getContent() { return trick.getContent(); }
4631

4732
public boolean isLocked() {
4833
return trick.isLocked();

0 commit comments

Comments
 (0)