Merge pull request #1710 from pfyy/development

fix dungeon
This commit is contained in:
Magix 2022-08-25 19:25:50 -07:00 committed by GitHub
commit 35ddc40796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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