mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Merge branch 'next-minor'
# Conflicts: # resources/vanilla # src/network/upnp/UPnP.php
This commit is contained in:
@ -48,7 +48,7 @@ class UPnP implements NetworkInterface{
|
||||
if(!Internet::$online){
|
||||
throw new \RuntimeException("Server is offline");
|
||||
}
|
||||
if(Utils::getOS() !== "win"){
|
||||
if(Utils::getOS() !== Utils::OS_WINDOWS){
|
||||
throw new \RuntimeException("UPnP is only supported on Windows");
|
||||
}
|
||||
if(!class_exists("COM")){
|
||||
|
Reference in New Issue
Block a user