Pocketmine-mp: Furnace Error

Created on 8 Jun 2017  Â·  1Comment  Â·  Source: pmmp/PocketMine-MP

Issue description




When player touched working furnace, the error happened.

Steps to reproduce the issue

  1. Player touch working furnace.
  2. The error

OS and versions

  • PocketMine-MP: 1.6.2dev 「Unleashed」 implementing API version 3.0.0-ALPHA5 29e88d8
  • PHP: 7.0.9
  • Server OS: Linux
  • Game version: 1.1.0.55

Crashdump, backtrace or other files


TypeError: "Argument 1 passed to pocketmineutilsBinary::writeVarInt() must be of the type integer, float given, called in .../src/pocketmine/utils/BinaryStream.php on line 301" (EXCEPTION) in "/src/pocketmine/utils/Binary" at line 496

Core Fixed

Most helpful comment

How amusing... somebody tried to floor a value that is always an integer. Unfortunately for that somebody, flooring anything returns a float.

>All comments

How amusing... somebody tried to floor a value that is always an integer. Unfortunately for that somebody, flooring anything returns a float.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MisteFr picture MisteFr  Â·  19Comments

zKoz210 picture zKoz210  Â·  23Comments

matcracker picture matcracker  Â·  17Comments

jarne picture jarne  Â·  20Comments

SOF3 picture SOF3  Â·  20Comments