Dieser Commit ist enthalten in:
Ursprung
4d21ebf382
Commit
b447568e4b
@ -15,7 +15,7 @@ import lombok.Data;
|
|||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer;
|
import org.bukkit.craftbukkit.v1_19_R2.entity.CraftPlayer;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -103,7 +103,7 @@ public class PortalCommand extends SWCommand {
|
|||||||
private Location locationOfPlayer(Player player) {
|
private Location locationOfPlayer(Player player) {
|
||||||
Location l = player.getLocation();
|
Location l = player.getLocation();
|
||||||
|
|
||||||
l.setYaw(((CraftPlayer)player).getHandle().cg());
|
l.setYaw(((CraftPlayer)player).getHandle().ck());
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ package de.steamwar.lobby.map;
|
|||||||
import net.minecraft.world.level.saveddata.maps.WorldMap;
|
import net.minecraft.world.level.saveddata.maps.WorldMap;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.craftbukkit.v1_19_R1.map.CraftMapView;
|
import org.bukkit.craftbukkit.v1_19_R2.map.CraftMapView;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.inventory.meta.MapMeta;
|
import org.bukkit.inventory.meta.MapMeta;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren