Compatibility with API 3.0.0-ALPHA6

Changed OSX to macOS and added an icon.
This commit is contained in:
Matthew 2017-06-30 12:52:23 +02:00
parent 9d6c0403da
commit a2bbdf06fd
4 changed files with 4 additions and 3 deletions

View File

@ -4,4 +4,5 @@ branches:
projects:
PlayerInfo:
path: ""
icon: icon.png
...

BIN
Playerinfo logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -1,7 +1,7 @@
name: PlayerInfo
version: 1.2.1
version: 1.2.3
author: Matthww
api: [3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5]
api: [3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6]
description: Shows info about a certain player!
main: Matthww\PlayerInfo\PlayerInfo

View File

@ -40,7 +40,7 @@ class PlayerInfo extends PluginBase implements Listener {
public function onCommand(CommandSender $sender, Command $command, $label, array $args) {
if (strtolower($command->getName()) == "playerinfo" or strtolower($command->getName()) == "pinfo") {
$os = ["Unknown", "Android", "iOS", "OSX", "FireOS", "GearVR", "HoloLens", "Windows 10", "Windows", "Dedicated"];
$os = ["Unknown", "Android", "iOS", "macOS", "FireOS", "GearVR", "HoloLens", "Windows 10", "Windows", "Dedicated"];
$UI = ["Classic UI", "Pocket UI"];
$Controls = ["Unknown", "Mouse", "Touch", "Controller"];
$GUI = [-2 => "Minimum", -1 => "Medium", 0 => "Maximum"];