mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Cleanup unused
This commit is contained in:
parent
aae47e103b
commit
deb75df77a
@ -57,7 +57,7 @@ public class CommandIrisStudioTPStudio extends MortarCommand {
|
||||
|
||||
try {
|
||||
sender.sendMessage("Teleporting you to the active studio world.");
|
||||
sender.player().teleport(Iris.proj.getActiveProject().getActiveProvider().getTarget().getWorld().getSpawnLocation());
|
||||
sender.player().teleport(Iris.proj.getActiveProject().getActiveProvider().getTarget().getWorld().spawnLocation());
|
||||
sender.player().setGameMode(GameMode.SPECTATOR);
|
||||
} catch (Throwable e) {
|
||||
Iris.reportError(e);
|
||||
|
@ -60,8 +60,4 @@ public class IrisRenderer {
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
public void set(double worldX, double worldZ) {
|
||||
renderer.getWorld().getBlockAt((int) worldX, 20, (int) worldZ).setType(Material.DIAMOND_BLOCK);
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public class IrisWorld {
|
||||
bindWorld(this, world);
|
||||
}
|
||||
|
||||
public Location getSpawnLocation() {
|
||||
public Location spawnLocation() {
|
||||
if(hasRealWorld())
|
||||
{
|
||||
return realWorld().getSpawnLocation();
|
||||
|
Loading…
x
Reference in New Issue
Block a user