New banner

This commit is contained in:
themode 2020-09-24 01:03:13 +02:00
parent 988f2c1b46
commit 2a9adfc751
2 changed files with 3 additions and 3 deletions

BIN
.github/banner.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -1347,9 +1347,9 @@ public class Player extends LivingEntity implements CommandSender {
} }
/** /**
* Returns true iff this player is in creative. Used for code readability * Get if this player is in creative. Used for code readability
* *
* @return true if the player is in creative mode, false otherwise * @return true if the player is in creative mode
*/ */
public boolean isCreative() { public boolean isCreative() {
return gameMode == GameMode.CREATIVE; return gameMode == GameMode.CREATIVE;
@ -1361,7 +1361,7 @@ public class Player extends LivingEntity implements CommandSender {
* *
* @param dimensionType the new player dimension * @param dimensionType the new player dimension
*/ */
public void sendDimension(DimensionType dimensionType) { protected void sendDimension(DimensionType dimensionType) {
Check.notNull(dimensionType, "Dimension cannot be null!"); Check.notNull(dimensionType, "Dimension cannot be null!");
Check.argCondition(dimensionType.equals(getDimensionType()), "The dimension need to be different than the current one!"); Check.argCondition(dimensionType.equals(getDimensionType()), "The dimension need to be different than the current one!");