mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fixes
This commit is contained in:
parent
7d423fa49d
commit
e68facfd51
@ -598,7 +598,7 @@ public class FastNoiseDouble {
|
|||||||
long y1 = y0 + 1;
|
long y1 = y0 + 1;
|
||||||
long z1 = z0 + 1;
|
long z1 = z0 + 1;
|
||||||
|
|
||||||
double xs, ys, zs;
|
double xs=0, ys=0, zs=0;
|
||||||
switch (m_longerp) {
|
switch (m_longerp) {
|
||||||
case Linear -> {
|
case Linear -> {
|
||||||
xs = x - x0;
|
xs = x - x0;
|
||||||
@ -696,7 +696,7 @@ public class FastNoiseDouble {
|
|||||||
long x1 = x0 + 1;
|
long x1 = x0 + 1;
|
||||||
long y1 = y0 + 1;
|
long y1 = y0 + 1;
|
||||||
|
|
||||||
double xs, ys;
|
double xs=0, ys=0;
|
||||||
switch (m_longerp) {
|
switch (m_longerp) {
|
||||||
case Linear -> {
|
case Linear -> {
|
||||||
xs = x - x0;
|
xs = x - x0;
|
||||||
@ -794,7 +794,7 @@ public class FastNoiseDouble {
|
|||||||
long y1 = y0 + 1;
|
long y1 = y0 + 1;
|
||||||
long z1 = z0 + 1;
|
long z1 = z0 + 1;
|
||||||
|
|
||||||
double xs, ys, zs;
|
double xs=0, ys=0, zs=0;
|
||||||
switch (m_longerp) {
|
switch (m_longerp) {
|
||||||
case Linear -> {
|
case Linear -> {
|
||||||
xs = x - x0;
|
xs = x - x0;
|
||||||
@ -1886,7 +1886,7 @@ public class FastNoiseDouble {
|
|||||||
long y1 = y0 + 1;
|
long y1 = y0 + 1;
|
||||||
long z1 = z0 + 1;
|
long z1 = z0 + 1;
|
||||||
|
|
||||||
double xs, ys, zs;
|
double xs=0, ys=0, zs=0;
|
||||||
switch (m_longerp) {
|
switch (m_longerp) {
|
||||||
case Linear -> {
|
case Linear -> {
|
||||||
xs = xf - x0;
|
xs = xf - x0;
|
||||||
@ -1969,7 +1969,7 @@ public class FastNoiseDouble {
|
|||||||
long x1 = x0 + 1;
|
long x1 = x0 + 1;
|
||||||
long y1 = y0 + 1;
|
long y1 = y0 + 1;
|
||||||
|
|
||||||
double xs, ys;
|
double xs=0, ys=0;
|
||||||
switch (m_longerp) {
|
switch (m_longerp) {
|
||||||
case Linear -> {
|
case Linear -> {
|
||||||
xs = xf - x0;
|
xs = xf - x0;
|
||||||
|
@ -63,9 +63,9 @@ public class TileBanner implements TileData<Banner> {
|
|||||||
this.baseColor = banner.getBaseColor();
|
this.baseColor = banner.getBaseColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||||
@Override
|
@Override
|
||||||
public TileBanner clone() {
|
public TileBanner clone() {
|
||||||
TileBanner tileBanner = (TileBanner) super.clone();
|
|
||||||
TileBanner ts = new TileBanner();
|
TileBanner ts = new TileBanner();
|
||||||
ts.setBaseColor(getBaseColor());
|
ts.setBaseColor(getBaseColor());
|
||||||
ts.setPatterns(getPatterns());
|
ts.setPatterns(getPatterns());
|
||||||
|
@ -66,9 +66,9 @@ public class TileSign implements TileData<Sign> {
|
|||||||
dyeColor = sign.getColor();
|
dyeColor = sign.getColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||||
@Override
|
@Override
|
||||||
public TileSign clone() {
|
public TileSign clone() {
|
||||||
TileSign tileSign = (TileSign) super.clone();
|
|
||||||
TileSign ts = new TileSign();
|
TileSign ts = new TileSign();
|
||||||
ts.setDyeColor(getDyeColor());
|
ts.setDyeColor(getDyeColor());
|
||||||
ts.setLine1(getLine1());
|
ts.setLine1(getLine1());
|
||||||
|
@ -55,9 +55,9 @@ public class TileSpawner implements TileData<CreatureSpawner> {
|
|||||||
entityType = sign.getSpawnedType();
|
entityType = sign.getSpawnedType();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||||
@Override
|
@Override
|
||||||
public TileSpawner clone() {
|
public TileSpawner clone() {
|
||||||
TileSpawner tileSpawner = (TileSpawner) super.clone();
|
|
||||||
TileSpawner ts = new TileSpawner();
|
TileSpawner ts = new TileSpawner();
|
||||||
ts.setEntityType(getEntityType());
|
ts.setEntityType(getEntityType());
|
||||||
return ts;
|
return ts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user