More optimizations
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
--- a/net/minecraft/server/level/ServerPlayer.java
|
||||
+++ b/net/minecraft/server/level/ServerPlayer.java
|
||||
@@ -216,7 +_,7 @@
|
||||
private long lastActionTime = Util.getMillis();
|
||||
@Nullable
|
||||
private Entity camera;
|
||||
- public boolean isChangingDimension;
|
||||
+ private boolean isChangingDimension; // Plazma - AT (public -> private); Use ServerPlayer#isChangingDimension()
|
||||
public boolean seenCredits;
|
||||
private final ServerRecipeBook recipeBook;
|
||||
@Nullable
|
||||
@@ -1361,7 +_,7 @@
|
||||
if (block instanceof RespawnAnchorBlock && (forced || blockState.getValue(RespawnAnchorBlock.CHARGE) > 0) && RespawnAnchorBlock.canSetSpawn(level)) {
|
||||
Optional<Vec3> optional = RespawnAnchorBlock.findStandUpPosition(EntityType.PLAYER, level, pos);
|
||||
|
||||
Reference in New Issue
Block a user