mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Update to Minecraft 1.15.1
This commit is contained in:
@@ -298,14 +298,14 @@
|
||||
@@ -306,11 +510,11 @@
|
||||
}
|
||||
|
||||
public boolean J() {
|
||||
public boolean isDay() {
|
||||
- return this.worldProvider.getDimensionManager() == DimensionManager.OVERWORLD && this.c < 4;
|
||||
+ return this.worldProvider.getDimensionManager().getType() == DimensionManager.OVERWORLD && this.c < 4; // CraftBukkit
|
||||
}
|
||||
|
||||
public boolean K() {
|
||||
- return this.worldProvider.getDimensionManager() == DimensionManager.OVERWORLD && !this.J();
|
||||
+ return this.worldProvider.getDimensionManager().getType() == DimensionManager.OVERWORLD && !this.J(); // CraftBukkit
|
||||
public boolean isNight() {
|
||||
- return this.worldProvider.getDimensionManager() == DimensionManager.OVERWORLD && !this.isDay();
|
||||
+ return this.worldProvider.getDimensionManager().getType() == DimensionManager.OVERWORLD && !this.isDay(); // CraftBukkit
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user