File tree Expand file tree Collapse file tree
src/main/java/org/mangorage/mangobotsite/website/servlet/data/trick Expand file tree Collapse file tree Original file line number Diff line number Diff 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' )
Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments