13
0

Fix hologram
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-03-11 16:46:20 +01:00
Ursprung 98b41ad66c
Commit e02edf3cca

Datei anzeigen

@ -76,12 +76,12 @@ public class FightserverPortal implements PortalHandler, Comparable<FightserverP
this.target = target; this.target = target;
this.bluePlayers = bluePlayers; this.bluePlayers = bluePlayers;
this.redPlayers = redPlayers; this.redPlayers = redPlayers;
hologram = new Hologram(null, portal.getPos1().clone().add(portal.denormalize(new Vector(0.5, 0.5, 0.5))), "", false); hologram = new Hologram(null, portal.denormalize(new Vector(0.5, 0.5, 0.5)).toLocation(portal.getPos1().getWorld()), "", false);
if(portal.getId().equals("Lixfel")) { if(portal.getId().equals("Lixfel")) {
System.out.println(portal.getPos1()); System.out.println(portal.getPos1());
System.out.println(portal.getPos2()); System.out.println(portal.getPos2());
System.out.println(portal.getPos1().clone().add(portal.denormalize(new Vector(0.5, 0.5, 0.5)))); System.out.println(portal.denormalize(new Vector(0.5, 0.5, 0.5)).toLocation(portal.getPos1().getWorld()));
} }
setServer(null); setServer(null);