25w06a
This commit is contained in:
1 parent
85803cecbb
commit
7c73a9344c
9 files changed
+62
-44
No files matched your search
@@ -700,7 +700,7 @@ public class EntityValue extends Value
|
||||
return Value.NULL;
|
||||
});
|
||||
|
||||
put("selected_slot", (e, a) -> e instanceof Player p ? new NumericValue(p.getInventory().selected) : Value.NULL);
|
||||
put("selected_slot", (e, a) -> e instanceof Player p ? new NumericValue(p.getInventory().getSelectedSlot()) : Value.NULL);
|
||||
|
||||
put("active_block", (e, a) -> {
|
||||
if (e instanceof ServerPlayer sp)
|
||||
|
||||
Reference in new issue
Block a user