Commits
123 123 | * @return True if Player should keep all pre-death exp |
124 124 | */ |
125 125 | public boolean getKeepLevel() { |
126 126 | return keepLevel; |
127 127 | } |
128 128 | |
129 129 | /** |
130 130 | * Sets if the Player should keep all EXP at respawn. |
131 131 | * <p> |
132 132 | * This overrides all other EXP settings |
133 + | * <p> |
134 + | * This doesn't prevent prevent the EXP from dropping. |
135 + | * {@link #setDroppedExp(int)} should be used stop the |
136 + | * EXP from dropping. |
133 137 | * |
134 138 | * @param keepLevel True to keep all current value levels |
135 139 | */ |
136 140 | public void setKeepLevel(boolean keepLevel) { |
137 141 | this.keepLevel = keepLevel; |
138 142 | } |
139 143 | |
140 144 | /** |
141 145 | * Sets if the Player keeps inventory on death. |
142 146 | * |