mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 03:36:27 +08:00
Add existing commands
This commit is contained in:
@@ -344,7 +344,7 @@ public class World implements Iterable<GenshinPlayer> {
|
||||
|
||||
// Godmode check
|
||||
if (target instanceof EntityAvatar) {
|
||||
if (((EntityAvatar) target).getPlayer().hasGodmode()) {
|
||||
if (((EntityAvatar) target).getPlayer().inGodmode()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user