enes5519plugins / colorfularmor Goto Github PK
View Code? Open in Web Editor NEWColorfulArmor plugin for Altay and pmmp
ColorfulArmor plugin for Altay and pmmp
TICAL > [ColorfulArmor] Could not execute task Enes5519\colorfularmor\task\ArmorTask: Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned
16:57:45 CRITICAL > TypeError: "Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned" (EXCEPTION) in "src/pocketmine/entity/Living" at line 431
wen i died in nether and then relogin
Now everytime i do /cfa it say Armor Removed , then clear any armor i equip
:b
Good morning my friend. I fiddled around a bit, and figured this code works better and is cleaner for rainbow color fading:
private function updateColor(int $step): Color
{
$center = 128;
$width = 127;
$frequency = 100;//controls change speed
$red = sin($frequency * $step + 2) * $width + $center;
$green = sin($frequency * $step + 0) * $width + $center;
$blue = sin($frequency * $step + 4) * $width + $center;
return new Color($red, $green, $blue);
}
$step
can be the current tick. $frequency
controls how fast/much the colors change
Original code and read-up can be found here: https://krazydad.com/tutorials/makecolors.php
This prevents Poggit from detecting the command, and hence the plugin cannot be searched at https://poggit.pmmp.io/cmds
This is not a critical issue, so your plugin is not immediately rejected. However, please make sure this issue is resolved in your next update.
This issue was created via GitHub API automatically, but you are welcome to reply to this issue to contact me. Sorry about not reading the CONTRIBUTING.md in this repo ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.