mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 18:24:43 +02:00
Various
sponge changes / documentation / cleanup / event tweak
This commit is contained in:
@ -131,7 +131,7 @@ public class SpongePlayer extends PlotPlayer {
|
||||
@Override
|
||||
public void setCompassTarget(final Location loc) {
|
||||
final TargetedLocationData target = player.getOrCreate(TargetedLocationData.class).get();
|
||||
target.set(Keys.TARGETED_LOCATION, SpongeUtil.getLocation(loc));
|
||||
target.set(Keys.TARGETED_LOCATION, SpongeUtil.getLocation(loc).getPosition());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user