Browse Source

Removing logging

master
Ad5001 2 years ago
parent
commit
b532951cc3

+ 0
- 1
src/Ad5001/GenPainterPE/Main.php View File

@@ -156,7 +156,6 @@ class Main extends PluginBase implements Listener{
*/
public static function prompt(string $message): string{
if (PHP_OS == 'WINNT') {
echo $message;
$line = stream_get_line(STDIN, 1024, PHP_EOL);
} else {
$line = readline($message);

+ 0
- 3
src/Ad5001/GenPainterPE/generator/GenPainter.php View File

@@ -230,9 +230,6 @@ class GenPainter extends Generator{
foreach($this->generationPopulators as $populator){
$populator->populate($this->level, $chunkX, $chunkZ, $this->random);
}
// Logging
echo "Land at " . ($chunkX * 16 + 7) . ", " . ($chunkZ * 16 + 7) .
" with biome " . $this->getBiomeFromPos($chunkZ * 16 + 7, $chunkZ * 16 + 7)->getName() . "\n";
}

Loading…
Cancel
Save