remove spawn rotation
This commit is contained in:
parent
c201df68b2
commit
367e6f5bfd
3 changed files with 2 additions and 11 deletions
|
@ -464,11 +464,6 @@ public abstract class Config {
|
|||
@Var(name = "knockback")
|
||||
public static float knockback = 1.0f;
|
||||
|
||||
@Var(name = "spawnYaw", min = -180.0f, max = 180.0f)
|
||||
public static float spawnYaw = -90.0f;
|
||||
@Var(name = "spawnPitch", min = -89.0f, max = 89.0f)
|
||||
public static float spawnPitch = 0.0f;
|
||||
|
||||
@Var(name = "password", nonDefault = true)
|
||||
public static String password = "";
|
||||
@Var(name = "baseSeed", nonDefault = true)
|
||||
|
|
|
@ -12,14 +12,12 @@ public class TileEntityTianReactor extends TileEntityDevice {
|
|||
}
|
||||
|
||||
protected boolean executeFunction() {
|
||||
if(!this.hasAmount(0, 2)) // && !this.isCreative)
|
||||
if(!this.hasAmount(0, 2))
|
||||
return false;
|
||||
if(this.rand.rarity(5))
|
||||
return true;
|
||||
// if(!this.isCreative) {
|
||||
this.decrStackSize(0, 2);
|
||||
this.decrStackSize(1, 1);
|
||||
// }
|
||||
this.getResource(0).add(this.rand.range(this.temperature / 200, this.temperature / 50), 20, false);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue