mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-23 16:41:42 +01:00
Use method reference
This commit is contained in:
parent
06ca7a311a
commit
91998b4e24
@ -330,7 +330,7 @@ public class BlueprintClipboard {
|
||||
}
|
||||
|
||||
mmh.filter(mm -> mm.isMythicMob(entity)).map(mm -> mm.getMythicMob(entity))
|
||||
.ifPresent(mmr -> bpe.setMythicMobsRecord(mmr));
|
||||
.ifPresent(bpe::setMythicMobsRecord);
|
||||
|
||||
bpEnts.add(bpe);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user