Changes
Page history
update example code
authored
Jul 09, 2023
by
Phillip
Show whitespace changes
Inline
Side-by-side
API.md
View page @
bd79a240
...
...
@@ -45,7 +45,7 @@ Examples
```
java
ActiveMob
mythicMob
=
MythicBukkit
.
inst
().
getMobManager
().
getActiveMob
(
bukkitEntity
.
getUniqueId
()).
orElse
(
null
);
if
(
mythicMob
!=
null
&&
mythicMob
.
get
Nam
e
().
equals
(
"SkeletalKnight"
)){
if
(
mythicMob
!=
null
&&
mythicMob
.
get
MobTyp
e
().
equals
(
"SkeletalKnight"
)){
// do something with mob
}
```
...
...
...
...