mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-30 05:05:19 -05:00
Fix missing field type
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
|
||||
package me.shedaniel.architectury.hooks.fabric;
|
||||
|
||||
import me.shedaniel.architectury.event.EventResult;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
|
||||
public class PlayerHooksImpl {
|
||||
public static boolean isFake(Player player) {
|
||||
var result = FakePlayers.EVENT.invoker().isFakePlayer(player);
|
||||
EventResult result = FakePlayers.EVENT.invoker().isFakePlayer(player);
|
||||
if (result.value() != null) {
|
||||
return result.value();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user