menu
#2580577 Cannot use try without catch or finally

Submitted by PocketMine-MP 3.8.5

General information

Version: 3.8.5
Git commit: 6b090d65
Plugin involvement: Direct
Report date: 2019-07-11 16:45:51 +0000 UTC

System Information

PHP version: 7.2.19
Operating system: win
System banner: Windows NT DESKTOP-F7GI6TJ 10.0 build 15063 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot use try without catch or finally
File: plugins/RestartMessage/src/FlussRaplay/RestartMessage
Line: #38
Error level: E_COMPILE_ERROR
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
		{
$sender->sendMessage(TF::RED . "Du hast keine Berechtigung");
return true;
}
if (!$sender instanceof Player)
{
$sender->sendMessage(TF::RED . "Du hast keine Berechtigung");
return false;
}
try{
$return = true;
switch ($args[0] ?? "restartmessage")
{
case "restartmessage":
{
if (!$sender->hasPermission("restart.message"))
{
$sender->sendMessage(TF::RED . "Du hast keine Berechtigung");
return true;
{

Loaded Plugins

  • Show

Server Settings

  • Show