mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
better code
This commit is contained in:
parent
7347838876
commit
0e11e4c10e
2 changed files with 20 additions and 18 deletions
|
|
@ -670,7 +670,7 @@ class Entity extends Position{
|
|||
elseif($rand == 2) $color = 7;
|
||||
else $color = 8;
|
||||
break;
|
||||
case $chance <= 100:
|
||||
default:
|
||||
$color = 0;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue