mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
No goto - tp
This commit is contained in:
parent
377a4c2284
commit
985979ab14
@ -40,7 +40,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class CommandIrisStudioGoto extends MortarCommand {
|
public class CommandIrisStudioGoto extends MortarCommand {
|
||||||
public CommandIrisStudioGoto() {
|
public CommandIrisStudioGoto() {
|
||||||
super("goto", "find", "g", "tp");
|
super("goto", "find", "g");
|
||||||
setDescription("Find any region or biome");
|
setDescription("Find any region or biome");
|
||||||
requiresPermission(Iris.perm.studio);
|
requiresPermission(Iris.perm.studio);
|
||||||
setCategory("World");
|
setCategory("World");
|
||||||
|
@ -40,10 +40,6 @@ public class InvertedBiomeGrid implements BiomeGrid {
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public Biome getBiome(int arg0, int arg1, int arg2) {
|
public Biome getBiome(int arg0, int arg1, int arg2) {
|
||||||
if (!Iris.biome3d) {
|
|
||||||
return getBiome(arg0, arg2);
|
|
||||||
}
|
|
||||||
|
|
||||||
return grid.getBiome(arg0, 255 - arg1, arg2);
|
return grid.getBiome(arg0, 255 - arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,11 +51,6 @@ public class InvertedBiomeGrid implements BiomeGrid {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setBiome(int arg0, int arg1, int arg2, @NotNull Biome arg3) {
|
public void setBiome(int arg0, int arg1, int arg2, @NotNull Biome arg3) {
|
||||||
if (!Iris.biome3d) {
|
|
||||||
setBiome(arg0, arg2, arg3);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
grid.setBiome(arg0, 255 - arg1, arg2, arg3);
|
grid.setBiome(arg0, 255 - arg1, arg2, arg3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user