diff options
author | Ugleh <troti@ymail.com> | 2018-10-02 11:42:30 -0400 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-10-03 20:46:36 +1000 |
commit | 867794b29b1093f48e53e73cebebb9a871500331 (patch) | |
tree | b0ebf2ac8f2ffb57b2b49a027c3d6f8b3bf2b8c3 /src/main/java | |
parent | c71bb9ca986e836fffbd6f118145156e84426e10 (diff) | |
download | bukkit-867794b29b1093f48e53e73cebebb9a871500331.tar bukkit-867794b29b1093f48e53e73cebebb9a871500331.tar.gz bukkit-867794b29b1093f48e53e73cebebb9a871500331.tar.lz bukkit-867794b29b1093f48e53e73cebebb9a871500331.tar.xz bukkit-867794b29b1093f48e53e73cebebb9a871500331.zip |
Make setPersistent also control player saving
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/entity/Entity.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java index 2cc60fe9..c798998c 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -197,9 +197,10 @@ public interface Entity extends Metadatable, CommandSender, Nameable { * By default all entities are persistent. An entity will also not get * persisted, if it is riding an entity that is not persistent. * <p> - * The persistent flag has no effect on players. If a player is directly or - * indirectly riding a non-persistent entity, the vehicle at the root and - * all its passengers won't get persisted. + * The persistent flag on players controls whether or not to save their + * playerdata file when they quit. If a player is directly or indirectly + * riding a non-persistent entity, the vehicle at the root and all its + * passengers won't get persisted. * <p> * <b>This should not be confused with * {@link LivingEntity#setRemoveWhenFarAway(boolean)} which controls |