Skip to content

Commit a40c7bb

Browse files
authored
Update NewAPIChanges.php
Edit one thing
1 parent 8d58d46 commit a40c7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiUpdater/NewAPIChanges.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function __construct(Base $main)
1111
public function apply($content){//New Changes
1212
$content = str_replace('PluginTask', 'Task', $content);
1313
$content = str_replace('parent::__construct($plugin);', ' ', $content);
14-
$content = str_replace('isUnderWater', 'isUnderWater', $content);
14+
$content = str_replace('isInsideOfWater', 'isUnderWater', $content);
1515
$content = str_replace('$this->getServer()->getScheduler()', '$this->getScheduler()', $content);
1616
$content = str_replace("$this->getServer()->getScheduler()->scheduleAsyncTask", "$this->getServer()->getAsyncPool()->submitTask", $content);
1717
$content = str_replace("$this->getServer()->getScheduler()->scheduleAsyncTaskToWorker", "$this->getServer()->getAsyncPool()->submitTasktoWorker", $content);

0 commit comments

Comments
 (0)