fix dungeon

This commit is contained in:
pfyy 2022-08-26 09:57:52 +08:00
parent eb42cc9c9e
commit c96a1907da
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ public class GadgetWorktop extends GadgetContent {
this.handler = handler; this.handler = handler;
} }
public boolean onSelectWorktopOption(SelectWorktopOptionReq req) { public boolean onSelectWorktopOption(SelectWorktopOptionReq req) {
this.handler.onSelectWorktopOption(this,req.getOptionId()); if (this.handler != null) {
this.handler.onSelectWorktopOption(this, req.getOptionId());
}
return false; return false;
} }