Giter Site home page Giter Site logo

colorfularmor's Introduction

ColorfulArmor

Poggit-CI

colorfularmor's People

Contributors

enes5519 avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

colorfularmor's Issues

dying bug

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

Tested from poggit.

When dying or changing gamemode then typing /cfa to disable the armor it doesn't disable.
Not sure if this from issue #2 but i'll check if you do fix #2

Better rainbow code

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

Commands do not implement PluginIdentifiableCommand

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 ๐Ÿ™ƒ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.