3
0

Avoid to use Derived.incrementTotalWorldTickTime

This commit is contained in:
Prototik
2015-05-25 18:27:17 +07:00
parent 1e5cd36314
commit ea868d4998
6 changed files with 82 additions and 32 deletions

View File

@ -19,7 +19,7 @@
public void setSaveVersion(int p_76078_1_) {}
public void setThundering(boolean p_76069_1_) {}
@@ -174,4 +173,12 @@
@@ -174,4 +173,17 @@
{
return this.theWorldInfo.getGameRulesInstance();
}
@ -30,5 +30,10 @@
+
+ public void setDimension(int dim) {
+ this.theWorldInfo.setDimension(dim);
+ }
+
+ @Override
+ public void tick() {
+ theWorldInfo.tick();
+ }
}

View File

@ -46,3 +46,12 @@
public int getVanillaDimension()
{
return this.dimension;
@@ -556,4 +574,8 @@
{
return this.additionalProperties!=null? this.additionalProperties.get(additionalProperty) : null;
}
+
+ public void tick() {
+ totalTime++;
+ }
}