mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Standalones
This commit is contained in:
parent
79e2bdb587
commit
4304cad029
@ -54,6 +54,17 @@ import org.bukkit.util.Vector;
|
|||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public class StandaloneWorld implements World
|
public class StandaloneWorld implements World
|
||||||
{
|
{
|
||||||
|
private final long seed;
|
||||||
|
private final String name;
|
||||||
|
private final File folder;
|
||||||
|
|
||||||
|
public StandaloneWorld(String name, long seed, File folder)
|
||||||
|
{
|
||||||
|
this.seed = seed;
|
||||||
|
this.name = name;
|
||||||
|
this.folder = folder;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<String> getListeningPluginChannels()
|
public Set<String> getListeningPluginChannels()
|
||||||
{
|
{
|
||||||
@ -484,8 +495,7 @@ public class StandaloneWorld implements World
|
|||||||
@Override
|
@Override
|
||||||
public String getName()
|
public String getName()
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException();
|
return name;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -568,8 +578,7 @@ public class StandaloneWorld implements World
|
|||||||
@Override
|
@Override
|
||||||
public long getSeed()
|
public long getSeed()
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException();
|
return seed;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -687,8 +696,7 @@ public class StandaloneWorld implements World
|
|||||||
@Override
|
@Override
|
||||||
public File getWorldFolder()
|
public File getWorldFolder()
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException();
|
return folder;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user