Commits

md_5 authored 0e90062a297
Remove draft API from entity persistence
No tags

src/main/java/org/bukkit/entity/Entity.java

Modified
235 235 * The persistent flag on players controls whether or not to save their
236 236 * playerdata file when they quit. If a player is directly or indirectly
237 237 * riding a non-persistent entity, the vehicle at the root and all its
238 238 * passengers won't get persisted.
239 239 * <p>
240 240 * <b>This should not be confused with
241 241 * {@link LivingEntity#setRemoveWhenFarAway(boolean)} which controls
242 242 * despawning of living entities. </b>
243 243 *
244 244 * @return true if this entity is persistent
245 - * @deprecated draft API
246 245 */
247 - @Deprecated
248 246 public boolean isPersistent();
249 247
250 248 /**
251 249 * Sets whether or not the entity gets persisted.
252 250 *
253 251 * @param persistent the persistence status
254 252 * @see #isPersistent()
255 - * @deprecated draft API
256 253 */
257 - @Deprecated
258 254 public void setPersistent(boolean persistent);
259 255
260 256 /**
261 257 * Gets the primary passenger of a vehicle. For vehicles that could have
262 258 * multiple passengers, this will only return the primary passenger.
263 259 *
264 260 * @return an entity
265 261 * @deprecated entities may have multiple passengers, use
266 262 * {@link #getPassengers()}
267 263 */

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut