Add option to configure listing fake players on the multiplayer screen (#1756)
This commit is contained in:
1 parent
b1cc289a49
commit
efddb904a0
2 files changed
+8
No files matched your search
@@ -190,6 +190,11 @@ public class EntityPlayerMPFake extends ServerPlayer
|
||||
return "127.0.0.1";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean allowsListing() {
|
||||
return CarpetSettings.allowListingFakePlayers;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void checkFallDamage(double y, boolean onGround, BlockState state, BlockPos pos) {
|
||||
doCheckFallDamage(0.0, y, 0.0, onGround);
|
||||
|
||||
Reference in new issue
Block a user