mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Cleanup unused
This commit is contained in:
@@ -57,7 +57,7 @@ public class CommandIrisStudioTPStudio extends MortarCommand {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
sender.sendMessage("Teleporting you to the active studio world.");
|
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);
|
sender.player().setGameMode(GameMode.SPECTATOR);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
Iris.reportError(e);
|
Iris.reportError(e);
|
||||||
|
|||||||
@@ -60,8 +60,4 @@ public class IrisRenderer {
|
|||||||
|
|
||||||
return image;
|
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);
|
bindWorld(this, world);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Location getSpawnLocation() {
|
public Location spawnLocation() {
|
||||||
if(hasRealWorld())
|
if(hasRealWorld())
|
||||||
{
|
{
|
||||||
return realWorld().getSpawnLocation();
|
return realWorld().getSpawnLocation();
|
||||||
|
|||||||
Reference in New Issue
Block a user