menu
#3980039 Can't use method return value in write context

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-03-25 15:55:18 +0000 UTC

System Information

PHP version: 7.3.9
Operating system: linux
System banner: Linux hostmaster.etkinhost.com.tr 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Can't use method return value in write context
File: plugins/[AntiCheat]/src/FearTeam/AntiCheat
Line: #42
Error level: E_COMPILE_ERROR
33
34
35
36
37
38
39
40
41
42
43
44
45
46
    $isim = $paket->username;
$this->deviceOS[$isim] = $paket->clientData["DeviceOS"];
}
}

public function onDamage(EntityDamageEvent $event){
if($event instanceof EntityDamageByEntityEvent and $event->getEntity() instanceof Player and $event->getDamager() instanceof Player){
if($event->getEntity()->distanceSquared($event->getDamager()) > 25){
$event->getDamager()->addTitle(TF::RED."Makro Tespit Edildi!");
$event->getEntity()->distanceSquared($event->getDamager()) = 1;
}
}
}
}

Loaded Plugins

  • Show

Server Settings

  • Show