Commits
Nothixal authored and md_5 committed 4054cc7b855
418 418 | */ |
419 419 | public void setStatistic( Statistic statistic, EntityType entityType, int newValue); |
420 420 | |
421 421 | /** |
422 422 | * Gets the player's last death location. |
423 423 | * |
424 424 | * @return the last death location if it exists, otherwise null. |
425 425 | */ |
426 426 | |
427 427 | public Location getLastDeathLocation(); |
428 + | |
429 + | /** |
430 + | * Gets the player's current location. |
431 + | * |
432 + | * @return the player's location, {@code null} if player hasn't ever played |
433 + | * before. |
434 + | */ |
435 + | |
436 + | public Location getLocation(); |
428 437 | } |