forked from xjboss/KCauldronX
Avoid to use Derived.incrementTotalWorldTickTime
This commit is contained in:
@ -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();
|
||||
+ }
|
||||
}
|
||||
|
@ -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++;
|
||||
+ }
|
||||
}
|
||||
|
Reference in New Issue
Block a user