This commit is contained in:
Daniel Mills 2021-07-14 16:44:15 -04:00
parent 7d423fa49d
commit e68facfd51
4 changed files with 8 additions and 8 deletions

View File

@ -598,7 +598,7 @@ public class FastNoiseDouble {
long y1 = y0 + 1;
long z1 = z0 + 1;
double xs, ys, zs;
double xs=0, ys=0, zs=0;
switch (m_longerp) {
case Linear -> {
xs = x - x0;
@ -696,7 +696,7 @@ public class FastNoiseDouble {
long x1 = x0 + 1;
long y1 = y0 + 1;
double xs, ys;
double xs=0, ys=0;
switch (m_longerp) {
case Linear -> {
xs = x - x0;
@ -794,7 +794,7 @@ public class FastNoiseDouble {
long y1 = y0 + 1;
long z1 = z0 + 1;
double xs, ys, zs;
double xs=0, ys=0, zs=0;
switch (m_longerp) {
case Linear -> {
xs = x - x0;
@ -1886,7 +1886,7 @@ public class FastNoiseDouble {
long y1 = y0 + 1;
long z1 = z0 + 1;
double xs, ys, zs;
double xs=0, ys=0, zs=0;
switch (m_longerp) {
case Linear -> {
xs = xf - x0;
@ -1969,7 +1969,7 @@ public class FastNoiseDouble {
long x1 = x0 + 1;
long y1 = y0 + 1;
double xs, ys;
double xs=0, ys=0;
switch (m_longerp) {
case Linear -> {
xs = xf - x0;

View File

@ -63,9 +63,9 @@ public class TileBanner implements TileData<Banner> {
this.baseColor = banner.getBaseColor();
}
@SuppressWarnings("MethodDoesntCallSuperMethod")
@Override
public TileBanner clone() {
TileBanner tileBanner = (TileBanner) super.clone();
TileBanner ts = new TileBanner();
ts.setBaseColor(getBaseColor());
ts.setPatterns(getPatterns());

View File

@ -66,9 +66,9 @@ public class TileSign implements TileData<Sign> {
dyeColor = sign.getColor();
}
@SuppressWarnings("MethodDoesntCallSuperMethod")
@Override
public TileSign clone() {
TileSign tileSign = (TileSign) super.clone();
TileSign ts = new TileSign();
ts.setDyeColor(getDyeColor());
ts.setLine1(getLine1());

View File

@ -55,9 +55,9 @@ public class TileSpawner implements TileData<CreatureSpawner> {
entityType = sign.getSpawnedType();
}
@SuppressWarnings("MethodDoesntCallSuperMethod")
@Override
public TileSpawner clone() {
TileSpawner tileSpawner = (TileSpawner) super.clone();
TileSpawner ts = new TileSpawner();
ts.setEntityType(getEntityType());
return ts;