mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-11-25 21:03:00 +01: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