menu
#5038113 Cannot redeclare hachkingtohach1\CustomPet\CustomPet::getPets()

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-22 01:12:25 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.4.21
Operating system: win
System banner: Windows NT DESKTOP-BVRHES0 10.0 build 19042 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare hachkingtohach1\CustomPet\CustomPet::getPets()
File: plugins/CustomPet/src/hachkingtohach1/CustomPet/CustomPet
Line: #86
Error level: E_COMPILE_ERROR
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
	
public function getXpLevelPet(Player $player, $amount){
return $this->getDatabase()->getXpLevelPet($player, $amount);
}

public function getLevelPet(Player $player){
return $this->getDatabase()->getLevelPet($player);
}

public function getPets(Player $player){
return $this->getDatabase()->getPets($player);
}

public function addXpLevelPet(Player $player, $petPlayer, $amount){
return $this->getDatabase()->addXpLevelPet($player, $petPlayer, $amount);
}

public function addLevelPet(Player $player, $petPlayer, $amount){
return $this->getDatabase()->addLevelPet($player, $petPlayer, $amount);
}

Loaded Plugins

  • Show

Server Settings

  • Show